Click here to Skip to main content
15,895,011 members
Home / Discussions / C#
   

C#

 
GeneralRe: are socket operations generally expensive? Pin
deostroll3-Nov-09 9:27
deostroll3-Nov-09 9:27 
AnswerRe: are socket operations the culprit here? Pin
Luc Pattyn3-Nov-09 13:27
sitebuilderLuc Pattyn3-Nov-09 13:27 
GeneralRe: are socket operations the culprit here? Pin
deostroll3-Nov-09 18:22
deostroll3-Nov-09 18:22 
GeneralRe: are socket operations the culprit here? Pin
Luc Pattyn3-Nov-09 23:40
sitebuilderLuc Pattyn3-Nov-09 23:40 
GeneralRe: are socket operations the culprit here? Pin
deostroll4-Nov-09 2:36
deostroll4-Nov-09 2:36 
GeneralRe: are socket operations the culprit here? Pin
Luc Pattyn4-Nov-09 2:43
sitebuilderLuc Pattyn4-Nov-09 2:43 
GeneralRe: are socket operations the culprit here? Pin
deostroll4-Nov-09 3:24
deostroll4-Nov-09 3:24 
GeneralRe: are socket operations the culprit here? Pin
Luc Pattyn4-Nov-09 4:12
sitebuilderLuc Pattyn4-Nov-09 4:12 
deostroll wrote:
If you do plan to look at it..


No, I don't.


deostroll wrote:
there is a DataAvailable event


such event is normally intended for you to read the data that is already there, and not to wait for more. The event should fire again when more comes in.
The alternative is to have a separate thread for reading, with a loop, waisting time, either through a blocking read or a thread.Sleep

The end.

Luc Pattyn

I only read code that is properly indented, and rendered in a non-proportional font; hint: use PRE tags in forum messages


GeneralRe: are socket operations the culprit here? Pin
deostroll4-Nov-09 5:18
deostroll4-Nov-09 5:18 
Questionload image with open dialog Pin
Arefeh Haghpnah3-Nov-09 8:00
Arefeh Haghpnah3-Nov-09 8:00 
AnswerRe: load image with open dialog Pin
OriginalGriff3-Nov-09 8:14
mveOriginalGriff3-Nov-09 8:14 
AnswerRe: load image with open dialog Pin
Christian Graus3-Nov-09 9:34
protectorChristian Graus3-Nov-09 9:34 
Questionhow to open Select User Dialog box in C#? Pin
Sunil G 33-Nov-09 6:54
Sunil G 33-Nov-09 6:54 
AnswerMessage Closed Pin
3-Nov-09 7:08
stancrm3-Nov-09 7:08 
GeneralRe: how to open Select User Dialog box in C#? Pin
Sunil G11-Jan-10 21:33
Sunil G11-Jan-10 21:33 
QuestionConvert System.IO.FileStream to System.IO.Stream [modified] Pin
Geofrey Burgos3-Nov-09 6:34
Geofrey Burgos3-Nov-09 6:34 
AnswerRe: Convert System.IO.FileStream to System.IO.Stream Pin
Md. Marufuzzaman3-Nov-09 6:43
professionalMd. Marufuzzaman3-Nov-09 6:43 
GeneralRe: Convert System.IO.FileStream to System.IO.Stream Pin
Geofrey Burgos3-Nov-09 6:52
Geofrey Burgos3-Nov-09 6:52 
GeneralRe: Convert System.IO.FileStream to System.IO.Stream Pin
Md. Marufuzzaman3-Nov-09 7:00
professionalMd. Marufuzzaman3-Nov-09 7:00 
GeneralRe: Convert System.IO.FileStream to System.IO.Stream Pin
harold aptroot3-Nov-09 6:58
harold aptroot3-Nov-09 6:58 
AnswerRe: Convert System.IO.FileStream to System.IO.Stream Pin
Luc Pattyn3-Nov-09 7:13
sitebuilderLuc Pattyn3-Nov-09 7:13 
AnswerRe: Convert System.IO.FileStream to System.IO.Stream Pin
EliottA3-Nov-09 7:49
EliottA3-Nov-09 7:49 
QuestionAccessing WCF Pin
cdpace3-Nov-09 6:10
cdpace3-Nov-09 6:10 
AnswerRe: Accessing WCF Pin
jschell3-Nov-09 11:10
jschell3-Nov-09 11:10 
Questionconvert .mdf database file in text file Pin
Member 4876723-Nov-09 5:56
Member 4876723-Nov-09 5:56 

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.