Skip to contentSkip to conversation

gethostbyname() return "No such device"

DISCUSSION [email protected] 1 participant 1 message Jul 26, 2004

lore
Share & tools
lore
#0 lore raw

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!
______________________________________

===================================================================