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 a snapshot of the develop branch, built from commit 7b149d1613.
PrevUpHomeNext
ssl_stream::handshake (4 of 4 overloads)

Perform SSL handshaking.

Synopsis
template<
    class ConstBufferSequence>
void
handshake(
    handshake_type type,
    ConstBufferSequence const& buffers,
    boost::system::error_code& ec);
Description

This function is used to perform SSL handshaking on the stream. The function call will block until handshaking is complete or an error occurs.

Parameters

Name

Description

type

The type of handshaking to be performed, i.e. as a client or as a server.

buffers

The buffered data to be reused for the handshake.

ec

Set to indicate what error occurred, if any.


PrevUpHomeNext