[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: gethostbyname() return "No such device"?
From: |
Petter Reinholdtsen |
Subject: |
Re: gethostbyname() return "No such device"? |
Date: |
Mon, 26 Jul 2004 13:40:21 +0200 |
User-agent: |
Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (usg-unix-v) |
address@hidden
> When i call gethostbyname() to get IP of localhost, it returned
> NULL and perror() displayed "No such device"? Why?
No idea, but you might get a clue if you run 'strace program' to find
out which system calls are being executed.