MCPcopy Create free account
hub / github.com/Achain-Dev/Achain / shutdown

Function shutdown

include/win/boost/asio/basic_socket.hpp:1473–1478  ·  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 boost::system::system_error Thrown on failure. * * @par Example * Shutting down the send side of the socket: * @code * boost::asio::ip::tcp::socket socket(i

Source from the content-addressed store, hash-verified

1471 * @endcode
1472 */
1473 void shutdown(shutdown_type what)
1474 {
1475 boost::system::error_code ec;
1476 this->get_service().shutdown(this->get_implementation(), what, ec);
1477 boost::asio::detail::throw_error(ec, "shutdown");
1478 }
1479
1480 /// Disable sends or receives on the socket.
1481 /**

Callers 2

~LRemoteDebuggerMethod · 0.50
process_cmd_infoMethod · 0.50

Calls 2

throw_errorFunction · 0.50
shutdownMethod · 0.45

Tested by

no test coverage detected