In Listing 1, the call to select blocks until the server either receives a new client or detects available bytes being written to an open socket.
在清单1中,在服务器接收新客户机或检测到正把可用的字节写到打开的socket前,select的调用阻塞了。
In Listing 1, the call to select blocks until the server either receives a new client or detects available bytes being written to an open socket.
在清单1中,在服务器接收新客户机或检测到正把可用的字节写到打开的socket前,select的调用阻塞了。
应用推荐