[Top][All Lists]

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

Re: bug in hostname

From: Bruno Haible
Subject: Re: bug in hostname
Date: Sun, 25 Jan 2004 19:11:30 +0100
User-agent: KMail/1.5

Paul Jarc wrote:
> When it comes to DNS, there can be multiple names, but there need not
> be any "primary" name among them.  There can be, and often is, but
> it's also possible that all may have equal standing.

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?


reply via email to

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