OTInetHostToString
Converts an an address inInetHostformat 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- A pointer to the address as an
InetHostdata type.str- A pointer to a C string containing 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
TheOTInetHostToStringfunction cannot block and always runs synchronously. It does not use the services of the DNR.SEE ALSO
TheInetHostdata type is defined in "Basic Types and Constants" on page 8-20.To convert a string from dotted-decimal notation or hexadecimal notation to an
InetHostdata type, use theOTInetStringToHostfunction (page 8-54).
Main | Top of Section | What's New | Apple Computer, Inc. | Find It | Feedback | Help