...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
Tear down a connection.
template<
class Socket>
void
teardown(
role_type role,
Socket& socket,
error_code& ec);
» more...
Tear down a net::ip::tcp::socket
.
template<
class Protocol,
class Executor>
void
teardown(
role_type role,
net::basic_stream_socket< Protocol, Executor >& socket,
error_code& ec);
» more...