阅读背景:

C++ 异步 IO(三) 异步IO

来源:互联网 

The oldest solution that people still use for this problem is select(). The select() call takes three sets of fds (implemented as bit arrays): one for reading, one for writing, and one for "exceptions". It waits until a socket from one of the sets is ready and alters the sets to contain only the sockets ready for use.The oldest solution that people still use f




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: