adapnex::core::TCPConnection::Connect
Connects to the specified IPv4 address and port.
Synopsis
Declared in <adapnex/core/network.h>
virtual
bool
Connect(
std::array<uint8_t, 4> ip_v4,
uint16_t port,
Duration timeout) = 0;
Parameters
| Name | Description |
|---|---|
ip_v4 |
The raw IPv4 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