5 #include <libutl/InetHostAddress.h> 6 #include <libutl/String.h> 80 addresses(collection);
106 static String localDomainName();
#define UTL_CLASS_DEFID
Default init() and deInit() (which are merely place-holders).
#define UTL_CLASS_DECL(DC, BC)
Declaration of standard UTL++ functionality for a non-template class.
void getAliases(Collection *collection) const
Get all aliases for this hostname.
InetHostname(const char *hostName)
Constructor.
void getAddresses(Collection *collection) const
Get all addresses this hostname resolves to.
InetHostname(const String &hostName)
Constructor.
InetHostAddress getAddress() const
Return the first/primary address this hostname resolves to.