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

C#

 
AnswerRe: What should be the Return Type? Pin
PIEBALDconsult2-Dec-11 2:08
mvePIEBALDconsult2-Dec-11 2:08 
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 
Hi, as i always say; it's software, anything is possible. First of all, depending on the Listen of the server you can connect as much clients as you need.
Second; would you really want to have it that way? If the other channel is only for a event so once and a while you could also use UDP for that, not that it really makes a difference but if you could broadcast the events the client would not need to bother about connecting to the server.

Next issue is naturally what you're sending /receiving. Make your life easier and build yourself a proper protocol where each packet at least contains the protocol version (certainly for UDP) or when connecting first exchange protocol versions.

Next about receiving data, there are several ways to do this and so far it seems that you have used the blocking way; you can also handle the receive in a async way, that frees the system to do other interesting stuff.

I think i gave you a lot to chew on but these are things you will need to consider sooner or later.

Let me know if you like more detailed info and i'll see what i can cook up for you.

Regards, AT
Cogito ergo sum

AnswerRe: C# Sockets Pin
jschell1-Dec-11 13:39
jschell1-Dec-11 13:39 
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 

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.