Replies: 1 comment 1 reply
-
Hi @fengmao31 , You can get the IP and ports of each discovered entity via the use of discovery callbacks. You can check this link for more information regarding the specifics of the implementation of a custom listener. The discovery info passed to the discovery callbacks contains, among other things the locator information (protocol, IP and port) for that entity. I'm moving this conversation to Discussions since it's not an issue. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Is there an already existing issue for this?
Expected behavior
I want to use fastdds to dicover the node in the network and use other trasnport method. I want to use the ip and port from fastdds discover module.
Current behavior
I read the document and search online, read some related project, but I cannot find the api.
Steps to reproduce
I want to export the ip and port from fastdds discover module.
Fast DDS version/commit
2.9
1.5
Platform/Architecture
Ubuntu Focal 20.04 amd64
Transport layer
UDPv4
Additional context
No response
XML configuration file
No response
Relevant log output
No response
Network traffic capture
No response
Beta Was this translation helpful? Give feedback.
All reactions