Usenet comp.unix.tru64 (2000-2013)
 help / color / mirror / Atom feed
From: calista_heart@yahoo.com (Calista)
Subject: gethostbyname returns only single IP address
Date: 22 Apr 2004 08:43:54 -0700	[thread overview]
Message-ID: <5d1678ff.0404220743.37a2d7e1@posting.google.com> (raw)

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.


             reply	other threads:[~2004-04-22 15:43 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-04-22 15:43 Calista [this message]
2004-04-23  1:42 ` gethostbyname returns only single IP address Stuart Fuller
2004-04-23 13:04   ` Calista
2004-04-24  1:32     ` Peter da Silva
2004-04-26 14:05     ` Brian Haley
2004-04-26 20:54       ` Calista
2004-04-26 22:51         ` Brian Haley
2004-04-27 16:54           ` Calista
2004-04-27 20:36             ` Brian Haley
2004-05-03  3:15             ` Peter da Silva
2004-04-23 13:15   ` Calista
2004-04-23 20:43 ` Rick Jones
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox