How to cancel asynchronous read/write without closing the socket?
How to 开发者_如何学JAVAcancel asynchronous read/write without closing the socket? I use boost.asio. Thanks.
Use socket::cancel.
Cancel all asynchronous operations associated with the socket.
精彩评论