Cancel all asynchronous operations associated with the socket.
void cancel(); » more... void cancel( asio::error_code & ec); » more...