Hi, I believe there is a bug in de client example code of getaddrinfo. It is in the ubuntu 10.10 man pages (Version: 3.24-1ubuntu1) and also on http://www.kernel.org/doc/man-pages/online/pages/man3/getaddrinfo.3.html. The 'close(sfd);' will never happen and using the code in a loop, it will cause your system running out of filedescriptors (at least, that's what happened to me). To use the code cleanly, you should code the sfd after the last printf. Kind regards, wimpunk. -- To unsubscribe from this list: send the line "unsubscribe linux-man" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html