Structure that holds TCP Transport configuration items. More...
Public Member Functions | |
TcpTransportConfig () | |
Constructor. Initializes all configuration items with default values. | |
ReturnCode_t | get_default_config () |
ReturnCode_t | get_env_config () |
Public Attributes | |
short | participant_index |
Vector< IpTransportInterface > | interfaces |
boolean | dynamic_interfaces |
int | tx_max_packet_size |
Structure that holds TCP Transport configuration items.
ReturnCode_t get_default_config | ( | ) |
Initialize the TcpTransportConfig object with default values. Currently assigned values may be overwritten by defaults.
ReturnCode_t get_env_config | ( | ) |
Query for environment variables that impact tcp transport configuration. Load the values (if any) into the TcpTransportConfig object. Currently assigned values may be overwritten by values derived from environment variables.
boolean dynamic_interfaces |
detect and handle changes to interface addresses
Vector<IpTransportInterface> interfaces |
default: empty -> use all available interfaces
short participant_index |
-1: auto detect; else force (may fail if another participant is using the ports (can't exceed 120)
int tx_max_packet_size |
default: 64K (udp limit)