dnsresolve.c
changeset 27 81a574d60c15
parent 9 c3fecc82ade6
child 48 b94d657a9acb
equal deleted inserted replaced
26:d227047a3e88 27:81a574d60c15
    10 #include <netdb.h>
    10 #include <netdb.h>
    11 
    11 
    12 int main (int argc, char **argv)
    12 int main (int argc, char **argv)
    13 {
    13 {
    14     struct hostent *he;
    14     struct hostent *he;
       
    15 
    15     char *ip;
    16     char *ip;
    16 
    17 
    17     int i = 0;
    18     int i = 0;
    18 
    19 
    19     if (argc != 2) {
    20     if (argc != 2) {