The maximum length of the queue of pending connections. If this value is SOMAXCONN, then the underlying service provider responsible for socket s will set the backlog to a maximum "reasonable" value. There is no standard provision to find out the actual backlog value.
这个值应该是不能确定的。
int PASCAL FAR listen( SOCKET s, int backlog);其中 backlog:等待连接队列的最大长度。这个函数适用于同时有多个连接请求的服务器;如果当一个连接请求到来时,队列已满,那么客户将收到一个WSAECONNREFUSED错误。int 一般为16位,那么它取值的范围是
“-32768~32767”,所以最多队列可以容纳32767个连接。