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

Function close

include/asio/basic_socket.hpp:509–514  ·  view source on GitHub ↗

Close the socket. * This function is used to close the socket. Any asynchronous send, receive * or connect operations will be cancelled immediately, and will complete * with the asio::error::operation_aborted error. * * @throws asio::system_error Thrown on failure. Note that, even if * the function indicates an error, the underlying descriptor is closed. * * @note For portable

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
closeMethod · 0.45

Tested by

no test coverage detected