Reputation: 1758
How to cancel asynchronous read/write without closing the socket? I use boost.asio. Thanks.
Upvotes: 6
Views: 3962
Reputation: 24164
Use socket::cancel.
Cancel all asynchronous operations associated with the socket.
Upvotes: 9