lynx-dev
[Top][All Lists]
Advanced

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

Re: [Lynx-dev] Name resolution mechanism


From: Thomas Dickey
Subject: Re: [Lynx-dev] Name resolution mechanism
Date: Wed, 20 Feb 2008 17:41:22 -0500
User-agent: Mutt/1.3.27i

On Wed, Feb 20, 2008 at 05:32:10PM +0530, Bhatnagar Achindra wrote:
> Hi,
> This is not a bug report but rather a developer query. I had no other
> address except this.
> Please forward to the developer mailing list, if any.
> 
> 
> >From the source I could not find the mechanism with which a name
> resolution is done. eg; gethostbyname(). Can you please help me
> understand the mechanism.

gethostbyname() is a system-specific function (actually implemented on
many systems).  lynx doesn't really have to know much about its internals.
It "could" simply look in an /etc/hosts file, but usually does more than
that.

-- 
Thomas E. Dickey
http://invisible-island.net
ftp://invisible-island.net




reply via email to

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