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 / Functions
Address Utilities /


OTInetHostToString

Converts an an address in InetHost format into a character string in dotted-decimal notation.

C INTERFACE
void OTInetHostToString (InetHost host,
                                         char *str);
C++ INTERFACE
None. C++ clients use the C interface to this function.

PARAMETERS
host
The address as an InetHost data type.
str
A pointer to a C stringthat, on return, contains an IP address in dotted-decimal notation (for example, "12.13.14.15"). You must allocate storage for this string and provide the pointer to the function.
SPECIAL CONSIDERATIONS
The OTInetHostToString function cannot block and always runs synchronously. It does not use the services of the DNR.

SEE ALSO
The OTInetStringToHost function.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
15 JAN 1998