Subject: Re: Multiple IP addresses for a single host in "/etc/hosts"
To: Matthias Scheler <tron@lyssa.owl.de>
From: Todd Vierling <tv@pobox.com>
List: tech-net
Date: 05/30/1999 19:32:07
On 30 May 1999, Matthias Scheler wrote:

: if a host has multiple entries in "/etc/hosts" right now gethostbyname()
: returns only the first IP address. I think about enhancing _gethtbyname2()
: to build a "struct hostent *" with all IP addresses. To maintain backward
: compatibility the IP addresses will be in exact the same order as in
: "/etc/hosts". Opinions?

`struct hostent' already allows for an address *list*.  Why the need for
another call?

-- 
-- Todd Vierling (Personal tv@pobox.com; Bus. todd_vierling@xn.xerox.com)