Legacy Documentclose button

Important: The information in this document is obsolete and should not be used for new development.

Previous Book Contents Book Index Next

Inside Macintosh: Networking With Open Transport / Part 2 - Open Transport Reference
Chapter 29 - TCP/IP Services Reference / Constants and Data Types


Internet Host Information Structure

The OTInetStringToAddress function returns IP addresses for a host in an internet host information structure. The internet host information structure is defined by the InetHostInfo 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.

Previous Book Contents Book Index Next

© Apple Computer, Inc.
15 JAN 1998