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 an old version of Boost. Click here to view this page for the latest version.
PrevUpHomeNext

tcp_connection

(Legacy) A connection to MySQL over a TCP socket.

Synopsis

Defined in header <boost/mysql/tcp.hpp>

using tcp_connection = connection< boost::asio::ip::tcp::socket >;
Legacy

New code should use any_connection instead of connection and its helper typedefs, as it's simpler to use and provides the same level of performance.

Convenience header <boost/mysql.hpp>


PrevUpHomeNext