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 version of Boost is under active development. You are currently in the master branch. The current version is 1.91.0.
Perform SSL handshaking.
template< typename ConstBufferSequence> void handshake( handshake_type type, const ConstBufferSequence & buffers);
This function is used to perform SSL handshaking on the stream. The function call will block until handshaking is complete or an error occurs.
The type of handshaking to be performed, i.e. as a client or as a server.
The buffered data to be reused for the handshake.
Thrown on failure.