21 #ifndef G_NET_LOCAL__H
22 #define G_NET_LOCAL__H
58 static std::string resolvedHostname() ;
61 static std::string m_name_override ;
62 static bool m_name_override_set ;
static std::string canonicalName()
Returns the canonical network name assiciated with hostname().
static std::string hostname()
Returns the local hostname. Returns "localhost" on error.
The GNet::Address class encapsulates a TCP/UDP transport address.
A static class for getting information about the local machine's network name and address...
static bool isLocal(const Address &, std::string &reason)
Returns true if the given address appears to be associated with the local host, or a helpful error me...