#include <sys/types.h> #include <sys/socket.h> #include <netinet/in.h> #include <arpa/inet.h> char *inet_ntoa(struct in_addr internet_address)
The inet_ntoa() function is used to translate an Internet address from a 32-bit IP address to dotted decimal format.
None.
inet_ntoa() returns one of the following values:
Top | UNIX-Type APIs | APIs by category |