netdev
[Top] [All Lists]

Re: getipnodebyname??

To: Hideaki YOSHIFUJI <yoshfuji@xxxxxxxxxxxxxxxxx>
Subject: Re: getipnodebyname??
From: <venaas@xxxxxxxxxxx>
Date: Tue, 25 Jul 2000 15:51:09 +0200
Cc: aaguirre@xxxxxxxx, netdev@xxxxxxxxxxx
In-reply-to: <20000714084140G.yoshfuji@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>; from yoshfuji@xxxxxxxxxxxxxxxxx on Fri, Jul 14, 2000 at 08:41:40AM +0900
References: <20000713213055.A4337@xxxxxxxxxxxxxxxx> <200007132110.RAA06017@xxxxxxxxxxxxxxxx> <20000714084140G.yoshfuji@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Sender: owner-netdev@xxxxxxxxxxx
On Fri, Jul 14, 2000 at 08:41:40AM +0900, Hideaki YOSHIFUJI wrote:
> In article <200007132110.RAA06017@xxxxxxxxxxxxxxxx> (at Thu, 13 Jul 2000 
> 17:10:54 -0400 (CST)), Armando Aguirre Schlick <aaguirre@xxxxxxxx> says:
> 
> >     Here's my question... is there some standard function like
> >  getipnodebyname in glibc?
> >     I need to reach all of the address of a host, including IPv4-mapped
> >  IPv6 address...
> 
> gethostbyname2() (or gethostbyname2_r(); maybe glibc specific).
> 
> Pelease note getipnoby{name,addr} and gethostbyname2{,_r}() are now 
> deprecated; please read draft-ietf-ipng-rfc2553bis-00.txt.
> According to this draft, we will be able to pass AI_V4MAPPED, AI_ALL, 
> AI_ADDRCONFIG flags through getaddrinfo(). 
> (I'm not sure, but maybe) I will implement this.

I still think that getipnoby{name,addr} need to be implemented in order
to be compliant with the rfc2553bis-00 draft. Or have I missed something?

I think it's important that the new glibc 2.2 is fully compliant, since
there will be quite some time (a few years) until next opportunity. There
are other things that need to be added/changed too. Of course there are
other standards too....

Stig

-- 
Duct tape is like the force.  It has a light side, and a dark side, and
it holds the universe together ...
                -- Carl Zwanzig

<Prev in Thread] Current Thread [Next in Thread>