What IP infrastructure (if any) to use in C # .Net 4

It seems that System.net.Sockets had some performance issues in multi-threaded applications in previous versions of .Net. and that SocketAsyncEventArgs was (at least partially) created to eliminate them. However, it seems that using SocketAsyncEventArgs and the right solution is a non-trivial process, as shown in this article .

Ive looked at some frameworks that can be used at http://nitoasync.codeplex.com/ and http://supersocket.codeplex.com/

If I were looking for maximum performance in a TCP application using managed code, should I write in SocketAsyncEventArgs? and risk finding performance issues in production that cannot be reproduced during testing, or should I use one of the above frameworks ?.

I have not been working with C # for a long time. Most of my experience was in C ++, but I have no experience in this area. I am using .Net 4

+7
source share
1 answer

If you are looking for something for free, I had a good experience with SuperSocket. However, if you need a little more functionality ... http://www.chilkatsoft.com/socket-dotnet.asp really costs an extra penny.

Regular updates and very easy to use. Lots of examples and complete / good documentation for the most part (some of the functions (very few) contain "document")

Examples are what sets them apart, imo.

+2
source

All Articles