List Info

Thread: Name resolution mechanism




Name resolution mechanism
user name
2008-02-20 06:02:10
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.


-- 
Regards,
Bhatnagar Achindra

Mob: (+91) 98906 07223
Web: http://www.Achindr
aBhatnagar.it.tt

Believe in the future,
Only then can you be a Victor.


_______________________________________________
Lynx-dev mailing list
Lynx-devnongnu.org
htt
p://lists.nongnu.org/mailman/listinfo/lynx-dev

Re: Name resolution mechanism
country flaguser name
United States
2008-02-20 16:41:22
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.n
et
ftp://invisible-island.net


_______________________________________________
Lynx-dev mailing list
Lynx-devnongnu.org
htt
p://lists.nongnu.org/mailman/listinfo/lynx-dev

[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )