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

Click here to view the latest version of this page.
ssl::stream::shutdown (2 of 2 overloads)

Shut down SSL on the stream.

boost::system::error_code 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.