Boost C++ Libraries 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.
ssl::stream::shutdown (2 of 2 overloads)

Shut down SSL on the stream.

void shutdown(
    boost::system::error_code & ec);

This function is used to shut down SSL on the stream. The function call will block until SSL has been shut down or an error occurs.



Set to indicate what error occurred, if any.