Hello! When I call gethostbyname() to get IP of localhost, it returned NULL, and perror() displayed "No such device". Why? My network was configured correctly. Thank you! ______________________________________ =================================================================== -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/