Linux and I/O completion ports?

前端 未结 6 784
Happy的楠姐
Happy的楠姐 2020-12-02 05:19

Using winsock, you can configure sockets or seperate I/O operations to \"overlap\". This means that calls to perform I/O are returned immediately, while the actual operation

6条回答
  •  爱一瞬间的悲伤
    2020-12-02 06:04

    Use boost::asio. Hands down. It has a mild learning curve, but it's cross-platform, and automatically uses the best available method for the system you're compiling on. There's simply no reason not to.

    I know that this isn't quite an answer to your question, but it's the best advice I could give.

提交回复
热议问题