SoupBinTCP session settings.
Configuration parameters for establishing and maintaining a SoupBinTCP TCP session. Includes authentication credentials, network endpoints for redundant servers, and connection parameters.
| Class Members |
|
uint32_t |
hb_interval_ = 1000 |
Heartbeat send interval in milliseconds. |
|
uint32_t |
hb_timeout_ = 3000 |
Heartbeat receive timeout in milliseconds (connection loss detection). |
|
string |
local_ip_ |
Local IP address to bind (empty for any). |
|
string |
password_ |
Password for authentication. |
|
Endpoint |
remote_a_ |
Primary server endpoint (IP:Port). |
|
Endpoint |
remote_b_ |
Secondary/backup server endpoint (IP:Port). |
|
bool |
tcp_keep_alive_ = true |
Enable TCP keep-alive mechanism. |
|
uint32_t |
tcp_recv_buffer_size_ = 0 |
TCP receive buffer size in KB (0 = system default). |
|
uint32_t |
tcp_send_buffer_size_ = 0 |
TCP send buffer size in KB (0 = system default). |
|
string |
username_ |
Username for authentication. |