boost中快速关闭socket代码片段。 创建socket后,设置socket的linger属性. boost::asio::ip::tcp::socket socket(io_service);.
確定! 回上一頁