adapnex::core::TCPConnection::Reconnect

Reconnects to the previously specified endpoint.

Synopsis

Declared in <adapnex/core/network.h>

virtual
bool
Reconnect(Duration timeout) = 0;

Return Value

Returns true if the connection was successful, false otherwise.

Parameters

Name Description

timeout

The maximum duration to wait for the connection to be established.

Created with MrDocs