Converts an Internet address in its binary format into an ASCII string representing the address in standard dotted decimal notation.
#include <arpa/inet.h>
char *inet_ntoa (
struct in_addr addr);
(IN) Specifies the IP address (in in_addr format).
Returns a pointer to the array containing the ASCII string representing the address in Internet standard dot notation.
The library fills this array with the converted address and returns a pointer to this array. The contents are destroyed if inet_ntoa is called subsequently by the same or a different thread in the NLM.