Boost C++ Libraries

...one of the most highly regarded and expertly designed C++ library projects in the world. Herb Sutter and Andrei Alexandrescu, C++ Coding Standards

This is the documentation for an old version of Boost. Click here to view this page for the latest version.
PrevUpHomeNext

websocket::teardown

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...

PrevUpHomeNext