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
pool_params::connect_timeout

The timeout to use when connecting.

Synopsis
std::chrono::steady_clock::duration connect_timeout {std::chrono::seconds(20)};
Description

Connections will be connected by the pool before being handed to the user (using any_connection::async_connect). If the operation takes longer than this timeout, the operation will be interrupted, considered as failed and retried later.

Set this timeout to zero to disable it.

This value must not be negative.


PrevUpHomeNext