| Home | Libraries | People | FAQ | More

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