23.1 Inbound Ports for Meta-Traffic
The Wire Protocol QosPolicy’s rtps_well_known_ports.metatraffic_unicast_port determines the port used for receiving meta-traffic using unicast:
metatraffic_unicast_port = port_base +
(domain_id_gain * domain ID) +
(participant_id_gain * participant_id) +
builtin_unicast_port_offset
Similarly, rtps_well_known_ports.metatraffic_multicast_port determines the port used for receiving meta-traffic using multicast. The corresponding multicast group addresses are specified via multicast_receive_addresses (see 44.2.4 Configuring Multicast Receive Addresses).
metatraffic_multicast_port = port_base +
(domain_id_gain * domain ID) +
builtin_multicast_port_offset
Note: Multicast is only used for meta-traffic if a multicast address is specified in the NDDS_DISCOVERY_PEERS environment variable or file or if the multicast_receive_addresses field of the 44.3 DISCOVERY_CONFIG QosPolicy (DDS Extension) is set.