MCPcopy Create free account
hub / github.com/chriskohlhoff/asio / cancel

Function cancel

include/asio/basic_socket_acceptor.hpp:766–771  ·  view source on GitHub ↗

Cancel all asynchronous operations associated with the acceptor. * This function causes all outstanding asynchronous connect, send and receive * operations to finish immediately, and the handlers for cancelled operations * will be passed the asio::error::operation_aborted error. * * @throws asio::system_error Thrown on failure. */

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 2

throw_errorFunction · 0.85
cancelMethod · 0.45

Tested by

no test coverage detected