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

Function cancel

include/boost/asio/basic_socket.hpp:651–656  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

649 "or earlier. Consult documentation for details."))
650#endif
651 void cancel()
652 {
653 boost::system::error_code ec;
654 impl_.get_service().cancel(impl_.get_implementation(), ec);
655 boost::asio::detail::throw_error(ec, "cancel");
656 }
657
658 /// Cancel all asynchronous operations associated with the socket.
659 /**

Callers

nothing calls this directly

Calls 2

throw_errorFunction · 0.85
cancelMethod · 0.45

Tested by

no test coverage detected