Click here to Skip to main content
15,896,201 members
Home / Discussions / C#
   

C#

 
GeneralHelp Displaying Unicode String Pin
WorldNomad19-Nov-03 19:19
WorldNomad19-Nov-03 19:19 
GeneralRe: Help Displaying Unicode String Pin
Heath Stewart20-Nov-03 2:51
protectorHeath Stewart20-Nov-03 2:51 
GeneralRe: Help Displaying Unicode String Pin
WorldNomad20-Nov-03 16:41
WorldNomad20-Nov-03 16:41 
GeneralMake control draw on top of other forms Pin
JacksonBrown196019-Nov-03 12:37
JacksonBrown196019-Nov-03 12:37 
GeneralRe: Make control draw on top of other forms Pin
Heath Stewart20-Nov-03 3:55
protectorHeath Stewart20-Nov-03 3:55 
GeneralRe: Make control draw on top of other forms Pin
JacksonBrown196020-Nov-03 5:11
JacksonBrown196020-Nov-03 5:11 
GeneralProblem testing NetworkStream for remote close Pin
ChiPlastique19-Nov-03 12:25
ChiPlastique19-Nov-03 12:25 
GeneralRe: Problem testing NetworkStream for remote close Pin
Kentamanos19-Nov-03 12:53
Kentamanos19-Nov-03 12:53 
Most of the TCP code I've done runs in its own thread, so I never worry about blocking. That said, I'll take a few shots at it Smile | :) .

Have you considered the asynchronous version of Read (BeginRead)? It's an asynchronous call, so it's non-blocking.

I once did a simple test application (non-robust) and wanted a Read to timeout after a certain amount of time (this isn't exactly what you want, but keep reading). In order to do this, I needed to get at the Socket itself (TCPClient.Client). Since this property is protected, I ended up having to create my own class (TCPTimeoutClient or some such). Once you get to the actual Socket, you can do all sorts of extra things (take a look at Socket.Available and Socket.Select for instance). I'm not sure if these Socket versions would behave differently, but it might be worth a shot?

I hope some of my babbling might help a little.



I, for one, do not think the problem was that the band was down. I think that the problem may have been that there was a Stonehenge monument on the stage that was in danger of being crushed by a dwarf.

-David St. Hubbins
GeneralShell context menu Pin
Ludwig Stuyck19-Nov-03 11:14
Ludwig Stuyck19-Nov-03 11:14 
GeneralRe: Shell context menu Pin
Heath Stewart19-Nov-03 18:48
protectorHeath Stewart19-Nov-03 18:48 
QuestionHow to get Internet Eplorer Selected Text? Pin
Utku KAYA19-Nov-03 10:30
Utku KAYA19-Nov-03 10:30 
AnswerRe: How to get Internet Eplorer Selected Text? Pin
Heath Stewart19-Nov-03 18:33
protectorHeath Stewart19-Nov-03 18:33 
GeneralRe: How to get Internet Eplorer Selected Text? Pin
Judah Gabriel Himango20-Nov-03 4:36
sponsorJudah Gabriel Himango20-Nov-03 4:36 
GeneralRe: How to get Internet Eplorer Selected Text? Pin
Heath Stewart20-Nov-03 7:17
protectorHeath Stewart20-Nov-03 7:17 
GeneralRe: How to get Internet Eplorer Selected Text? Pin
Utku KAYA21-Nov-03 11:25
Utku KAYA21-Nov-03 11:25 
GeneralRe: How to get Internet Eplorer Selected Text? Pin
Heath Stewart22-Nov-03 11:13
protectorHeath Stewart22-Nov-03 11:13 
General.NET : DEBUG and RELEASE problem Pin
youssef19-Nov-03 9:30
youssef19-Nov-03 9:30 
GeneralRe: .NET : DEBUG and RELEASE problem Pin
Heath Stewart19-Nov-03 18:29
protectorHeath Stewart19-Nov-03 18:29 
GeneralCOM Interop problem Pin
Jose Vicente19-Nov-03 5:05
Jose Vicente19-Nov-03 5:05 
GeneralRe: COM Interop problem Pin
Heath Stewart19-Nov-03 8:45
protectorHeath Stewart19-Nov-03 8:45 
GeneralUsing a HWND from another application. Pin
mhand7519-Nov-03 5:04
mhand7519-Nov-03 5:04 
GeneralRe: Using a HWND from another application. Pin
John Arlen19-Nov-03 8:35
John Arlen19-Nov-03 8:35 
Generalfastest active directory access Pin
thilol19-Nov-03 4:02
thilol19-Nov-03 4:02 
GeneralRe: fastest active directory access Pin
Heath Stewart19-Nov-03 4:20
protectorHeath Stewart19-Nov-03 4:20 
GeneralRe: fastest active directory access Pin
thilol19-Nov-03 4:30
thilol19-Nov-03 4:30 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.