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