#include #include #include #include #include #include int main() { unsigned long adresse; struct hostent *hp; adresse = inet_addr("132.204.24.95"); hp = gethostbyaddr((char *)&adresse, sizeof (adresse), AF_INET); if (hp == (struct hostent *) NULL) { printf("Information non trouvee\n"); exit (1); } printf("Nom: %s\n", hp -> h_name); return 0; }