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 boost::asio::ssl::stream.

template<
    class SyncStream>
void
teardown(
    role_type role,
    boost::asio::ssl::stream< SyncStream >& stream,
    error_code& ec);
  » more...

Tear down a connection.

template<
    class Socket>
void
teardown(
    role_type role,
    Socket& socket,
    error_code& ec);
  » more...

Tear down a boost::asio::ip::tcp::socket.

void
teardown(
    role_type role,
    boost::asio::ip::tcp::socket& socket,
    error_code& ec);
  » more...

PrevUpHomeNext