This article was previously published under Q127144
The WinSock listen() call backlog parameter under Windows NT version 3.5and 3.51 accepts a maximum value of 100.
The maximum backlog parameter is 5 on Windows NT 4.0 Workstation, and 200 on Windows NT 4.0 Server.
WinSock server applications use the listen() call to establish a socketfor listening for incoming connections. This calls second parameter,backlog, is defined as the maximum length to which the queue of pendingconnections may grow.
The WinSock version 1.1 specification states the maximum value for thebacklog parameter is 5. However, Windows NT version 3.5 accepts up to 100for this value.
Services that handle a large number of socket connections may be writtento use a larger backlog value to prevent client connection requests frombeing dropped. This can be useful when writing applications such as WorldWide WEB (WWW) and gopher servers.