RTI TCP Transport Version 7.2.0
TCP Transport Initial Peers

This section describes how to specify the TCP transport initial peers.

This section describes how to specify the TCP transport initial peers.

With the TCP transport, the addresses of the initial peers (NDDS_DISCOVERY_PEERS) that will be contacted during the discovery process have the following format:

For example: setenv NDDS_DISCOVERY_PEERS tcpv4_wan://10.10.1.165:7400,tcpv4_wan://10.10.1.111:7400,tcpv4_lan://192.168.1.1:7500

When the TCP transport is configured for LAN communication (with the NDDS_Transport_Property_t::classid property), the IP address is the LAN address of the peer and the port is the server port used by the transport (the NDDS_Transport_TCPv4_Property_t::server_bind_port property).

When the TCP transport is configured for WAN communication (with the NDDS_Transport_Property_t::classid property), the IP address is the WAN or public address of the peer and the port is the public port that is used to forward traffic to the server port in the TCP transport.