Click here to Skip to main content
15,897,291 members
Home / Discussions / C#
   

C#

 
GeneralRe: What should be the Return Type? Pin
Eddy Vluggen2-Dec-11 7:30
professionalEddy Vluggen2-Dec-11 7:30 
QuestionComponent Versioning and the CLR Pin
Richard Andrew x641-Dec-11 16:43
professionalRichard Andrew x641-Dec-11 16:43 
AnswerRe: Component Versioning and the CLR Pin
Not Active1-Dec-11 17:18
mentorNot Active1-Dec-11 17:18 
GeneralRe: Component Versioning and the CLR Pin
Richard Andrew x641-Dec-11 17:21
professionalRichard Andrew x641-Dec-11 17:21 
GeneralRe: Component Versioning and the CLR Pin
Rob Philpott2-Dec-11 2:46
Rob Philpott2-Dec-11 2:46 
QuestionC# Sockets Pin
Sautin.net1-Dec-11 7:48
Sautin.net1-Dec-11 7:48 
AnswerRe: C# Sockets Pin
Addy Tas1-Dec-11 12:45
Addy Tas1-Dec-11 12:45 
AnswerRe: C# Sockets Pin
jschell1-Dec-11 13:39
jschell1-Dec-11 13:39 
Sautin.net wrote:
There really is no way to tell how many clients will be connected to the server, doesn't this open up a can of worms?


The Server has a thread call it A. Thread A accepts connections (creates a connection) specifically for that client.
The server then spins up a thread to deal with the connection, only that connection. So a new thread exists for each connection.
Thread A on the server then goes back to waiting for a connection.

So when client X does a connection the following happens.
1. Server opens accepting port.
2. Thread A gets a connection call on port and that creates connection X.
3. Server creates thread 1 and passes X to it.
4. Thread A goes back to listening for connections.
5. Thread 1 listens for input (your callSignature) using X.
6. Thread 1 gets msg and then sends response (bytes) on X.
7. Thread 1 can stop or go back to step 5.
AnswerRe: C# Sockets Pin
Jitendra Parida - Jeetu1-Dec-11 21:41
Jitendra Parida - Jeetu1-Dec-11 21:41 
AnswerRe: C# Sockets Pin
BobJanova1-Dec-11 23:52
BobJanova1-Dec-11 23:52 
AnswerRe: C# Sockets (Solved) Pin
Sautin.net2-Dec-11 9:33
Sautin.net2-Dec-11 9:33 
QuestionPrinting in C# on Thermal Printer Pin
vijay.victory1-Dec-11 6:26
vijay.victory1-Dec-11 6:26 
AnswerRe: Printing in C# on Thermal Printer Pin
Dan Mos1-Dec-11 6:43
Dan Mos1-Dec-11 6:43 
GeneralRe: Printing in C# on Thermal Printer Pin
vijay.victory1-Dec-11 7:07
vijay.victory1-Dec-11 7:07 
AnswerRe: Printing in C# on Thermal Printer Pin
Dan Mos1-Dec-11 7:19
Dan Mos1-Dec-11 7:19 
GeneralRe: Printing in C# on Thermal Printer Pin
vijay.victory1-Dec-11 7:58
vijay.victory1-Dec-11 7:58 
Questiondom xml in c# like in php simpledomparser Pin
Jayapal Chandran1-Dec-11 3:50
Jayapal Chandran1-Dec-11 3:50 
AnswerRe: dom xml in c# like in php simpledomparser Pin
Richard MacCutchan1-Dec-11 5:19
mveRichard MacCutchan1-Dec-11 5:19 
QuestionC# remoting server and client problem with connection Pin
kornkimhour1-Dec-11 3:42
kornkimhour1-Dec-11 3:42 
AnswerRe: C# remoting server and client problem with connection Pin
#realJSOP1-Dec-11 5:08
professional#realJSOP1-Dec-11 5:08 
GeneralRe: C# remoting server and client problem with connection Pin
BobJanova1-Dec-11 5:15
BobJanova1-Dec-11 5:15 
GeneralRe: C# remoting server and client problem with connection Pin
fjdiewornncalwe1-Dec-11 5:16
professionalfjdiewornncalwe1-Dec-11 5:16 
AnswerRe: C# remoting server and client problem with connection Pin
Richard MacCutchan1-Dec-11 5:18
mveRichard MacCutchan1-Dec-11 5:18 
GeneralRe: C# remoting server and client problem with connection Pin
Dan Mos1-Dec-11 5:36
Dan Mos1-Dec-11 5:36 
Questionjson in c#.net framework 2.0 Pin
Jayapal Chandran1-Dec-11 3:39
Jayapal Chandran1-Dec-11 3:39 

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.