TCP Networking Project - Advise Needed

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I am starting a networking project, and need to know the advantages and disadvantages of using raw sockets or the TCP Helper classes (TCPListener, TCPClient).

The project I am working on will be a project that can have multiple clients connecting, and maintaining the connection, then transfering Messages back an forth. Client State must be maintained for security reasons.

I have looked at the async examples of multi user server clients on MS, they one using the State object class, and several using the helper classes. I have not found examples of threading using thread pools on the raw socket level (Would like links if people have them) but have a full working example using thread pools and the helper classes.

Any help would be greatful
 
Hi,

Full working mailserver + well commented source code in C#.
This may be too comlex for you, but maybe you find something usefull.
http://www.lumisoft.ee/lswww/download/downloads/MailServer/

Glenn Wilson said:
I am starting a networking project, and need to know the advantages and
disadvantages of using raw sockets or the TCP Helper classes (TCPListener,
TCPClient).
The project I am working on will be a project that can have multiple
clients connecting, and maintaining the connection, then transfering
Messages back an forth. Client State must be maintained for security
reasons.
I have looked at the async examples of multi user server clients on MS,
they one using the State object class, and several using the helper classes.
I have not found examples of threading using thread pools on the raw socket
level (Would like links if people have them) but have a full working example
using thread pools and the helper classes.
 
Back
Top