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

Function shutdown

include/asio/basic_socket.hpp:1678–1683  ·  view source on GitHub ↗

Disable sends or receives on the socket. * This function is used to disable send operations, receive operations, or * both. * * @param what Determines what types of operation will no longer be allowed. * * @throws asio::system_error Thrown on failure. * * @par Example * Shutting down the send side of the socket: * @code * asio::ip::tcp::socket socket(my_context); *

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 5

~priority_schedulerMethod · 0.85
shutdownMethod · 0.85
shutdownMethod · 0.85
shutdownMethod · 0.85
shutdownMethod · 0.85

Calls 2

throw_errorFunction · 0.85
shutdownMethod · 0.45

Tested by

no test coverage detected