You can set the default value for the initial peers list in an environment variable named NDDS_DISCOVERY_PEERS. Multiple peer descriptor entries must be separated by commas. Table 14.1 NDDS_DISCOVERY_PEERS Environment Variable Examples shows some examples. The examples use an implied maximum participant ID of 4 unless otherwise noted. (If you need instructions on how to set environment variables, see the RTI Connext DDS Core Libraries Getting Started Guide).
© 2019 RTI