gethostbyname() return "No such device"
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!
______________________________________
===================================================================