hi,

i have a question about the getaddrinfo function. 

first, suppose that the nodename argument is a numeric host address and
the flag AI_NUMERICHOST is not set. will the query to getaddrinfo return
ALL addresses of that host? 

IMHO it should, but draft-...-rfc2553bis-00 is not very clear about this.
it only states that AI_NUMERICHOST prevents the DNS from being invoked, so
i guess that if AI_NUMERICHOST is not set, then a query to the resolution
service MUST be made, even if nodename is a numeric host address. 

there is also one more problem i'd like to talk about. in order to have a
stable and standard api, rfc2553bis and XNET specifications should not be
contradictory. i know at least one big implementation that is unwilling
to support rfc2553bis because it does not follow XNET specs. this is a
serious problem IMO. 

-- 
Aequam memento rebus in arduis servare mentem...

Mauro Tortonesi                 [EMAIL PROTECTED]
Ferrara Linux User Group        http://www.ferrara.linux.it
Project6 - IPv6 for Linux       http://project6.ferrara.linux.it


--------------------------------------------------------------------
IETF IPng Working Group Mailing List
IPng Home Page:                      http://playground.sun.com/ipng
FTP archive:                      ftp://playground.sun.com/pub/ipng
Direct all administrative requests to [EMAIL PROTECTED]
--------------------------------------------------------------------

Reply via email to