如果一个服务器能够预先估计可能会产生的最大并发连接数,服务器可以投递一个使用零缓冲区的receive在每一个连接上。
If a server anticipates handling a very high number of concurrent clients, the server can post a single zero byte receive on each connection.
我真正喜欢 Zattoo 简洁性,接近于零等待的缓冲,和高质量图像。
We really liked Zattoo for its simplicity, near-zero buffering, and good picture quality.
我们执行了一个零字节缓冲的异步wsaread…参见onzerobyteread . .。
We perform an asynchronous WSARead (..) (see OnZeroByteRead (..)) with a zero byte buffer.
应用推荐