Mauro,

>> >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? 
>> 
>> No. That is an error and you will get EAI_AGAIN is my view.  
>
>maybe i have not explained the situation very well. the call:
>
>getaddrinfo("xxx:xxx::xxx", NULL, &res)
>
>should return the full results of a query to the DNS for address "xxx...",
>and not only a struct sockaddr_in6 filled with the address "xxx...", imo.
>is this correct?

Yes.  

regards,
/jim 
--------------------------------------------------------------------
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