...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
Performs the MySQL-level handshake.
void handshake( consthandshake_params
& params,error_code
& ec,diagnostics
& diag);
Does not connect the underlying stream. If the Stream
template parameter fulfills the SocketConnection
requirements, use connection::connect
instead of this function.
If using a SSL-capable stream, the SSL handshake will be performed by this function.