Structure that holds UDP Transport configuration items.
- See also
- DomainParticipant::add_transport(Transport) add_transport()
Constructor. Initializes all configuration items with default values.
Initialize the UdpTransportConfig object with default values. Currently assigned values may be overwritten by defaults.
Query for environment variables that impact udp transport configuration. Load the values (if any) into the UdpTransportConfig object. Currently assigned values may be overwritten by values derived from environment variables.
bool advertise_meta_multicast |
advertise we can RX META MULTICAST
bool advertise_user_multicast |
advertise we can RX USER MULTICAST
byte [] broadcast_address |
4 byte IPv4 address. Default: 255.255.255.255
adjust the debug output from the transport
enable broadcast of META (DPD discovery) data default: 0 (off)
detect and handle changes to interface addresses
default: empty -> use all available interfaces
byte [] meta_multicast_address_v4 |
4 byte IPv4 address for meta (discovery) traffic. Default: [ 239 255 0 1 ] per the standard
byte [] meta_multicast_address_v6 |
16 byte IPv6 address for meta (discovery) traffic. Default: [ ff03:0000:0000:0000:0000:efff:0001 ]
default: 1 (0: disable all MCAST TX)
-1: auto detect; else force (may fail if another participant is using the ports (can't exceed 120)
initial size of data buffer
maximum size of data buffer
enable META MULTICAST (discovery) RX
enable USER MULTICAST (data) RX
socket RCVBUF size (set to -1 to use OS default)
socket SNDBUF size (set to -1 to use OS default)
enable META MULTICAST (discovery) TX
enable META UNICAST (discovery) TX
Support IPv4 communications (default ON (1))
Support IPv4 communications (default OFF(0))
byte [] user_multicast_address_v4 |
4 byte IPv4 address for user traffic. Default: [ 239 255 0 1 ] per the standard
byte [] user_multicast_address_v6 |
16 byte IPv6 address for user traffic. Default: [ ff03:0000:0000:0000:0000:efff:0001 ]