Boost C++ Libraries

...one of the most highly regarded and expertly designed C++ library projects in the world. — Herb Sutter and Andrei Alexandrescu, C++ Coding Standards

raw_socket_service::cancel
PrevUpHomeNext

Cancel all asynchronous operations associated with the socket.

boost::system::error_code cancel(
    implementation_type & impl,
    boost::system::error_code & ec);

PrevUpHomeNext