2 #include <sys/socket.h>
3 #include <netinet/in.h>
6 enum { buf_size
= 16 };
7 static char buf
[buf_size
] = "323543357756889";
10 main (int argc
, char *argv
[])
15 if (inet_aton (buf
, &addr
) != 0)
17 printf ("%s is seen as a valid IP address\n", buf
);