21 #ifndef G_GNET_LOCAL_H
22 #define G_GNET_LOCAL_H
51 static std::string
name() ;
61 static std::string resolvedHostname() ;
64 static std::string m_name_override ;
65 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.
The GNet::Address class encapsulates a TCP/UDP transport address.
static std::string name()
Returns canonicalName(), or hostname() if canonicalName() is the empty string.
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...