How to cancel asynchronous read / write without closing the socket?

How to cancel asynchronous read / write without closing the socket? I am using boost.asio. Thanks.

+6
c ++ boost-asio
source share
1 answer

Use socket :: cancel .

Cancel all asynchronous socket-related operations.

+9
source share

All Articles