gz/transport/NetUtils.hh
Definition: gz/transport/AdvertiseOptions.hh:28
STL class.
int hostnameToIp(char *_hostname, std::string &_ip)
Determine if an IP is private.
std::string determineHost()
Determine IP or hostname. Reference: https://github.com/ros/ros_comm/blob/hydro-devel/clients/ roscpp...
bool isPrivateIP(const char *_ip)
Determine if an IP is private. Reference: https://github.com/ros/ros_comm/blob/hydro-devel/clients/ r...
std::vector< std::string > determineInterfaces()
Determine the list of network interfaces for this machine. Reference: https://github....