What is that valid range for Domain ID? 0 - ?

2 posts / 0 new
Last post
Offline
Last seen: 1 year 5 months ago
Joined: 04/22/2019
Posts: 1
What is that valid range for Domain ID? 0 - ?

Documentation states:

"The domain ID is a purely arbitrary value; you can use any integer 0 or higher, provided it does not violate the guidelines for the DDS_RtpsWellKnownPorts_t structure (Ports Used for Discovery). Domain IDs are typically between 0 and 232."

The link wasn't much help to ports used for discovery wasn't much help. 

https://community.rti.com/static/documentation/connext-dds/5.2.0/doc/manuals/connext_dds/html_files/RTI_ConnextDDS_CoreLibraries_UsersManual/Content/UsersManual/WIRE_PROTOCOL_Qos.htm#domains_2763211417_920145

Thanks!

ken
ken's picture
Offline
Last seen: 1 month 1 week ago
Joined: 04/13/2011
Posts: 55

Hi, I believe the reason for the word 'typically' in our documention is that you can change the port algorithm parameters to suit your needs. Zero - two-hundred-thirty-two is the valid range when you use our default settings. I hope this explains things a bit more.