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

2 posts / 0 new
Last post
Last seen: 1 year 2 months ago
Joined: 04/22/2019
Posts: 5
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. 



ken's picture
Last seen: 4 months 6 days ago
Joined: 04/13/2011
Posts: 64

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.