What is the proper backlog for an asynchronous server socket?

Posted by The.Anti.9 on Stack Overflow See other posts from Stack Overflow or by The.Anti.9
Published on 2010-05-08T04:46:31Z Indexed on 2010/05/08 4:48 UTC
Read the original article Hit count: 242

Filed under:
|
|

If you're working with an Asynchronous server socket in C#, what is the proper backlog to put on the socket? For instance:

server = new Socket(AddressFamily.InterNetwork, SocketType.Stream, ProtocolType.Tcp);
IPEndPoint iep = new IPEndPoint(IPAddress.Any, port);
server.Bind(iep);
server.Listen(10);

© Stack Overflow or respective owner

Related posts about c#

Related posts about network-programming