datawriter

Get IP Address of DataWriter/Publisher on RTI DDS?

陌路散爱 提交于 2019-12-11 02:08:21
问题 I am using RTI DDS 5.2.3.17 and would like to get the IP address of the DataWriter/Publisher to add to some log messages. How would I go about doing this I am having some trouble in just forming the logic of what to do? 回答1: Accessing the IP address of a DataWriter is not possible in a standardized way. However, the RTI Context implementation by default uses the IP address as part of every Entity's Globally Unique Identifier (GUID). You can find more information about GUIDs and how to access