Click here to Skip to main content
15,889,462 members
Home / Discussions / C#
   

C#

 
AnswerRe: how Insert Image and Text in word Document in text box using c#? Pin
Dave Kreskowiak18-May-14 11:10
mveDave Kreskowiak18-May-14 11:10 
QuestionSocket Server Pin
Vipin1517-May-14 22:13
Vipin1517-May-14 22:13 
SuggestionRe: Socket Server Pin
Richard MacCutchan18-May-14 2:09
mveRichard MacCutchan18-May-14 2:09 
AnswerRe: Socket Server Pin
Matty2218-May-14 18:00
Matty2218-May-14 18:00 
GeneralRe: Socket Server Pin
Vipin1518-May-14 18:44
Vipin1518-May-14 18:44 
GeneralRe: Socket Server Pin
Matty2218-May-14 20:09
Matty2218-May-14 20:09 
GeneralRe: Socket Server Pin
Matty2218-May-14 20:11
Matty2218-May-14 20:11 
GeneralRe: Socket Server Pin
Matty2218-May-14 20:17
Matty2218-May-14 20:17 
Unless you have 5+ years experience writing high performance TCP messaging servers

Your code is going to be way, way, worse than what's in WCF and not as scalable.

Unless you know how TCP buffers are managed by the kernel; why it's bad to use thread-per request; what overlapped IO is and what an NT fiber is

Then you're 0% the way qualified to write your own TCP server and shouldn't even attempt it.
Writing a high performance 'good' tcp server implementation is 1 to 5 years development effort on its own.

You can write a raw sockets server using a thread-per-request model in like a few hours Sure; But you'll start running into issues with many clients pretty rapidly.

If you want to reduce the packet size of WCF. Use google protobuff binding for WCF. It makes insanely tiny packets.

There's really no need to cause some other poor developer to work on a naive server implementation when there are very fast and very scaleable tools (WCF, ZeroMQ) that take care of all of this for you


Writing a custom tcp server is pretty much like going "I'd like to write my own kernel scheduler"

It's easy to get going, takes a lifetime to do it right though. That's why ZeroMQ and WCF exist.
GeneralRe: Socket Server Pin
Vipin1521-May-14 18:21
Vipin1521-May-14 18:21 
GeneralRe: Socket Server Pin
Matty2221-May-14 18:41
Matty2221-May-14 18:41 
AnswerRe: Socket Server Pin
Bernhard Hiller18-May-14 21:59
Bernhard Hiller18-May-14 21:59 
GeneralRe: Socket Server Pin
Vipin1521-May-14 18:17
Vipin1521-May-14 18:17 
AnswerRe: Socket Server Pin
Rob Philpott19-May-14 4:26
Rob Philpott19-May-14 4:26 
Questionhow to make slave monitor show something same as primary monitor? Pin
Tom-kit17-May-14 19:18
Tom-kit17-May-14 19:18 
AnswerRe: how to make slave monitor show something same as primary monitor? Pin
OriginalGriff17-May-14 19:40
mveOriginalGriff17-May-14 19:40 
GeneralRe: how to make slave monitor show something same as primary monitor? Pin
Tom-kit17-May-14 20:47
Tom-kit17-May-14 20:47 
AnswerRe: how to make slave monitor show something same as primary monitor? Pin
Alan N18-May-14 3:30
Alan N18-May-14 3:30 
QuestionC# Pin
Member 1060638217-May-14 12:44
Member 1060638217-May-14 12:44 
AnswerRe: C# Pin
Richard Andrew x6417-May-14 14:14
professionalRichard Andrew x6417-May-14 14:14 
AnswerRe: C# Pin
Pete O'Hanlon17-May-14 23:50
mvePete O'Hanlon17-May-14 23:50 
QuestionTrace IP Who is using my "Share Folder" from LAN Pin
UL UL ALBAB17-May-14 1:58
UL UL ALBAB17-May-14 1:58 
AnswerRe: Trace IP Who is using my "Share Folder" from LAN Pin
Dave Kreskowiak17-May-14 2:11
mveDave Kreskowiak17-May-14 2:11 
AnswerRe: Trace IP Who is using my "Share Folder" from LAN Pin
Pete O'Hanlon17-May-14 23:52
mvePete O'Hanlon17-May-14 23:52 
QuestionDisposing objects in argument list Pin
Member 1064727016-May-14 8:09
Member 1064727016-May-14 8:09 
AnswerRe: Disposing objects in argument list Pin
Eddy Vluggen16-May-14 8:57
professionalEddy Vluggen16-May-14 8:57 

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.