nn::socket::InetNtoA Function

Syntax

char * InetNtoA(
     InAddr in
);

Arguments

Name Description
in in Specifies an InAddr structure holding an IPv4 host address in numeric format.

Return Values

Returns a pointer to the string resulting from the conversion. The string instance is a statically allocated buffer within the library.

Description

Converts an IPv4 host address given in numeric format to a string representing the address in dot-decimal notation.

Can be used even if Initialize has not been called. The InetNtoA function is neither reentrant nor thread-safe. Use the InetNtoP function instead if you need to call from multiple threads.

See Also

InetAtoN, InetNtoP

Revision History

2010/06/14
Initial version.

CONFIDENTIAL