Defined in:Returns the IP address found by a domain name resolution.
NetworkAddress GetAddress(void) const;
GetAddressfunction returns a
NetworkAddressobject containing the 32-bit IP address corresponding to a domain name that was passed to the
NetworkMgr::ResolveAddressfunction. The port number stored in the
NetworkAddressobject is set to zero.
If the domain name could not be resolved, then the IP address stored in the
NetworkAddressobject is set to zero. The
DomainNameResolver::GetResolveResultfunction can be called to determine whether a domain name resolution was successful.