[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: bug in hostname

From: Paul Jarc
Subject: Re: bug in hostname
Date: Sun, 25 Jan 2004 21:16:32 -0500
User-agent: Gnus/5.110002 (No Gnus v0.2) Emacs/21.3 (gnu/linux)

Bruno Haible <address@hidden> wrote:
> Then why is does gethostbyname() return one of the names as h->h_name,
> and the others as h->h_aliases[] ? What's the criterion that makes h->h_name
> the "primary" one?

Well, there need not be a primary name at DNS level, but there can
be.  If there isn't, I'd guess one would be chosen arbitrarily.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]