Click here to Skip to main content
15,888,461 members
Home / Discussions / C#
   

C#

 
GeneralRe: Windows service stable APPCRASH in clr.dll after 3.5 to 4.0 .NET platform change Pin
Pete O'Hanlon22-Mar-11 0:38
mvePete O'Hanlon22-Mar-11 0:38 
GeneralRe: Windows service stable APPCRASH in clr.dll after 3.5 to 4.0 .NET platform change Pin
Chesnokov Yuriy22-Mar-11 21:52
professionalChesnokov Yuriy22-Mar-11 21:52 
QuestionTotal Dynamic Report. Pin
Dot Net Jantu20-Mar-11 20:26
Dot Net Jantu20-Mar-11 20:26 
AnswerRe: Total Dynamic Report. [modified] Pin
SungBae.Han20-Mar-11 22:43
SungBae.Han20-Mar-11 22:43 
GeneralRe: Total Dynamic Report. Pin
Richard MacCutchan20-Mar-11 23:23
mveRichard MacCutchan20-Mar-11 23:23 
GeneralI'm sorry :) Pin
SungBae.Han21-Mar-11 13:02
SungBae.Han21-Mar-11 13:02 
GeneralRe: I'm sorry :) Pin
Richard MacCutchan21-Mar-11 23:40
mveRichard MacCutchan21-Mar-11 23:40 
QuestionHandling multiple clients via Sockets Pin
Jacob D Dixon20-Mar-11 9:45
Jacob D Dixon20-Mar-11 9:45 
Hey there! Been a while… took a little break from bugging you all with questions Wink | ;-) .

Anyways I was working on a server/client project so I could just become familiar with socket programming before I took a little "programming" break. Now that I'm going to continue it I had a few questions about trying what I'm attempting to do.

What I want is to create a Agent-Based monitoring application. So the idea would be to have the server sitting out on the WAN listening for connections from the agents. The agents will upload data and will perform more actions in the future.

So what is the best way to handle multiple connections? The connections could range anywhere from 1 to 750 agents that checkin every 30 seconds. Some products that come in mind is Labtech, Kaseya, and Zenith. I was using async sockets and see tons of people out there just creating new threads on a new connection, but surely this will kill the server when you get many connections.

Should I be using a thread pool (haven't dove into how to do this yet), creating new threads, async sockets, or what?

Thanks!
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 
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 

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.