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

C#

 
QuestionHandling multiple clients via Sockets Pin
Jacob D Dixon20-Mar-11 9:45
Jacob D Dixon20-Mar-11 9:45 
AnswerRe: Handling multiple clients via Sockets Pin
SungBae.Han20-Mar-11 22:47
SungBae.Han20-Mar-11 22:47 
AnswerRe: Handling multiple clients via Sockets Pin
David198720-Mar-11 23:11
David198720-Mar-11 23:11 
GeneralRe: Handling multiple clients via Sockets Pin
Jacob D Dixon21-Mar-11 16:32
Jacob D Dixon21-Mar-11 16:32 
AnswerRe: Handling multiple clients via Sockets Pin
BobJanova21-Mar-11 23:59
BobJanova21-Mar-11 23:59 
GeneralRe: Handling multiple clients via Sockets Pin
Jacob D Dixon27-Mar-11 5:43
Jacob D Dixon27-Mar-11 5:43 
GeneralRe: Handling multiple clients via Sockets Pin
BobJanova28-Mar-11 11:54
BobJanova28-Mar-11 11:54 
AnswerRe: Handling multiple clients via Sockets Pin
Rob Philpott22-Mar-11 0:39
Rob Philpott22-Mar-11 0:39 
Only one comment - if you've got 750 clients, make sure they connect, do whatever they have to do and disconnect immediately afterwards (or force disconnect them). Holding lots of idle sockets open will kill scalability. This is the approach webservers use. And for lots of short lived connections, the threadpool is definitely your friend. When you accept a socket through a TcpListener or similar pass the socket to a method and throw it on the threadpool.
Regards,
Rob Philpott.

GeneralRe: Handling multiple clients via Sockets Pin
Jacob D Dixon27-Mar-11 5:44
Jacob D Dixon27-Mar-11 5:44 
QuestionEnding all processes including hidden ones Pin
teknolog12320-Mar-11 0:16
teknolog12320-Mar-11 0:16 
AnswerRe: Ending all processes including hidden ones Pin
Dave Kreskowiak20-Mar-11 4:28
mveDave Kreskowiak20-Mar-11 4:28 
AnswerRe: Ending all processes including hidden ones Pin
Eddy Vluggen20-Mar-11 4:38
professionalEddy Vluggen20-Mar-11 4:38 
AnswerRe: Ending all processes including hidden ones Pin
Luc Pattyn20-Mar-11 10:27
sitebuilderLuc Pattyn20-Mar-11 10:27 
Questionsomething very Strange in Webservice and windows-ce connection Pin
Gali197818-Mar-11 21:51
Gali197818-Mar-11 21:51 
AnswerRe: something very Strange in Webservice and windows-ce connection Pin
Henry Minute19-Mar-11 10:26
Henry Minute19-Mar-11 10:26 
Questionhow to force IIS_IUSER full control by making setup & deploy project ? Pin
Gali197818-Mar-11 9:38
Gali197818-Mar-11 9:38 
AnswerRe: how to force IIS_IUSER full control by making setup & deploy project ? Pin
Dave Kreskowiak18-Mar-11 10:35
mveDave Kreskowiak18-Mar-11 10:35 
AnswerRe: how to force IIS_IUSER full control by making setup & deploy project ? Pin
Keith Barrow19-Mar-11 9:32
professionalKeith Barrow19-Mar-11 9:32 
AnswerRe: how to force IIS_IUSER full control by making setup & deploy project ? Pin
Bernhard Hiller20-Mar-11 21:21
Bernhard Hiller20-Mar-11 21:21 
QuestionPayPal and Backup recovery Pin
mageba18-Mar-11 7:28
mageba18-Mar-11 7:28 
AnswerMy Vote of 1 Pin
Keith Barrow18-Mar-11 10:29
professionalKeith Barrow18-Mar-11 10:29 
AnswerRe: PayPal and Backup recovery Pin
Richard MacCutchan18-Mar-11 10:47
mveRichard MacCutchan18-Mar-11 10:47 
GeneralRe: PayPal and Backup recovery Pin
OriginalGriff18-Mar-11 21:47
mveOriginalGriff18-Mar-11 21:47 
Questionre: Is there anything built in for distributed applications? Pin
SledgeHammer0118-Mar-11 6:46
SledgeHammer0118-Mar-11 6:46 
AnswerRe: re: Is there anything built in for distributed applications? Pin
Henry Minute18-Mar-11 10:49
Henry Minute18-Mar-11 10:49 

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.