Fast-DDS icon indicating copy to clipboard operation
Fast-DDS copied to clipboard

[Question] Details of hostname

Open sriramster opened this issue 8 years ago • 7 comments

Hi,

Is it possible to get the details of the hostname on which the nodes are running?

sriramster avatar Nov 02 '18 13:11 sriramster

If I understand well you're asking about retrieve not only the IP address of the remote node but also the hostname. In this case this capability is not currently implemented. Participants only sends their IP addresses.

↪ 2018-11-02 vie 14:47, Sriram Raghunathan [email protected]:

Hi,

Is it possible to get the details of the hostname on which the nodes are running?

-- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/eProsima/Fast-RTPS/issues/293

richiware avatar Nov 06 '18 11:11 richiware

@richiware Can you explain how to get the remote IP - I would like to add it to my logs

Jimmy316 avatar Nov 09 '18 22:11 Jimmy316

This information is shared between participants in the discovery phase, but I've realized it is not offered to the user. Commit 13fd15ce02b722a86f0db4d9a47d7ec769aa8e3c will solve it and it is included in next release 1.7.0.

richiware avatar Nov 13 '18 11:11 richiware

I hope this help you. I close the issue. If you have some problem feel free to reopen it.

richiware avatar Nov 16 '18 10:11 richiware

If I want to get the IP address of the remote participant just discovered, which locator list should I be looking in? (meta traffic unicast, meta traffic multicast, default unicast, default multicast?)

cvilas avatar May 09 '19 07:05 cvilas

@richiware Similar question, I can see the code has been added, but how can I access the properties? I'd like to get the IP address for the remote publisher.

codewithpassion avatar May 31 '19 12:05 codewithpassion

You should be able to get that information using default unicast locator list.

richiware avatar Jun 03 '19 08:06 richiware