From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fa528,b308574f9841b3bf,start X-Google-Attributes: gidfa528,public X-Google-ArrivalTime: 2004-04-22 08:43:55 PST Path: archiver1.google.com!postnews1.google.com!not-for-mail From: calista_heart@yahoo.com (Calista) Newsgroups: comp.unix.tru64 Subject: gethostbyname returns only single IP address Date: 22 Apr 2004 08:43:54 -0700 Organization: http://groups.google.com Message-ID: <5d1678ff.0404220743.37a2d7e1@posting.google.com> NNTP-Posting-Host: 208.42.8.141 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 1082648635 12373 127.0.0.1 (22 Apr 2004 15:43:55 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Thu, 22 Apr 2004 15:43:55 +0000 (UTC) Xref: archiver1.google.com comp.unix.tru64:11378 Hi, I use gethostbyname() to get all the IP addresses on my machine. But it only returns the first one in /etc/hosts file. Should I do anything different? I am running "DEC1 V5.1 1885 alpha". Thanks, Calista.