Important: The information in this document is obsolete and should not be used for new development.
Internet Host Information Structure
TheOTInetStringToAddress
function returns IP addresses for a host in an internet host information structure. The internet host information structure is defined by theInetHostInfo
data type.
struct InetHostInfo { InetDomainName name; InetHost addrs[kMaxHostAddrs]; }; typedef struct InetHostInfo Inet HostInfo;
Field Description
name
- The canonical name of the host. The canonical name is a fully qualified domain nam, never an alias.
addrs
- Up to ten IP addresses associated with this host name. Only multihomed hosts have more than one IP address.