adapnex::core::TCPConnection::Connect
Connects to the specified host and port.
Synopsis
Declared in <adapnex/core/network.h>
virtual
bool
Connect(
std::string host,
uint16_t port,
Duration timeout) = 0;
Parameters
| Name | Description |
|---|---|
host |
The hostname or IP address to connect to. |
port |
The port number to connect to. |
timeout |
The maximum duration to wait for the connection to be established. |
Created with MrDocs