Is there inconsistent between document and code about SPDP phase? #5153
-
https://fast-dds.docs.eprosima.com/en/latest/fastdds/discovery/simple.html#simple-initial-peers As the document in the link say:
But in the code. if the builtin.initialPeersList is not empty, spdp just send ParticipantProxyData to the address int the initialPeersList. If there is 3 participant A、B、C , A |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
This looks like a bug in the documentation. The behavior is that announcements are sent to the list of initial peers, which defaults to the default multicast address-port specified by the domain. If the three participants A, B, and C are in the same LAN, the default configuration will make them discover each other through multicast. |
Beta Was this translation helpful? Give feedback.
This looks like a bug in the documentation.
The behavior is that announcements are sent to the list of initial peers, which defaults to the default multicast address-port specified by the domain.
If the three participants A, B, and C are in the same LAN, the default configuration will make them discover each other through multicast.
If some of the participants have a limitation with multicast, and you need to configure initial peers, you can add a UDP locator with address
239.255.0.1
and port 0.