RADLib
RADical C++ application framework
RADNet::RADProtocolEndpointConfig Struct Reference

Runtime endpoint configuration loaded from JSON. More...

#include <RADNet.h>

Public Attributes

std::string address = "127.0.0.1"
 Server bind address or client host. More...
 
uint16_t port = 0
 TCP port. More...
 
int backlog = 128
 Server backlog. More...
 
int connectTimeoutMs = 5000
 Connect timeout in milliseconds. More...
 
uint32_t maxPayloadBytes = 16 * 1024 * 1024
 Maximum accepted payload bytes. More...
 

Detailed Description

Runtime endpoint configuration loaded from JSON.

Member Data Documentation

◆ address

std::string RADNet::RADProtocolEndpointConfig::address = "127.0.0.1"

Server bind address or client host.

◆ backlog

int RADNet::RADProtocolEndpointConfig::backlog = 128

Server backlog.

◆ connectTimeoutMs

int RADNet::RADProtocolEndpointConfig::connectTimeoutMs = 5000

Connect timeout in milliseconds.

◆ maxPayloadBytes

uint32_t RADNet::RADProtocolEndpointConfig::maxPayloadBytes = 16 * 1024 * 1024

Maximum accepted payload bytes.

◆ port

uint16_t RADNet::RADProtocolEndpointConfig::port = 0

TCP port.


The documentation for this struct was generated from the following file: