18 #ifndef __IGN_TRANSPORT_NETUTILS_HH_INCLUDED__ 19 #define __IGN_TRANSPORT_NETUTILS_HH_INCLUDED__ #define IGNITION_VISIBLE
Use to represent "symbol visible" if supported.
Definition: Helpers.hh:56
IGNITION_VISIBLE std::string hostname()
Determine the computer's hostname.
IGNITION_VISIBLE std::vector< std::string > determineInterfaces()
Determine the list of network interfaces for this machine.
bool isPrivateIP(const char *_ip)
Determine if an IP is private.
int hostnameToIp(char *_hostname, std::string &_ip)
Determine if an IP is private.
IGNITION_VISIBLE std::string username()
Determine your login name.
Definition: AdvertiseOptions.hh:25
IGNITION_VISIBLE std::string determineHost()
Determine IP or hostname.