Yes this is better approach. /jim
> -----Original Message----- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Sent: Tuesday, March 11, 2003 4:11 PM > To: Bound, Jim > Cc: Steven M. Bellovin; Pekka Savola; Alain Durand; Sebastien > Roy; Mika Liljeberg; Ronald van der Pol; [EMAIL PROTECTED]; > [EMAIL PROTECTED]; [EMAIL PROTECTED] > Subject: Re: dual stack & IPv6 on by default > > > >Mozilla is going to fix this. Part of the problem was we > took so long > >getting rfc 2553 updated to new RFC (its in the RFC editor queue now) > >they used Richard Stevens old program model. This will be > updated to > >getaddrinfo and I agree with Itojun. Now as usual we await release > >updates :--) We also updated the API after this code base > that is must > >specify AI_MAPPED to get both v4 and v6. > > no need for that, you can use PF_UNSPEC in > hints.ai_family to get both > IPv4 address (as ai_family = AF_INET) and IPv6 address > (as ai_family > = AF_INET6) and socket(2) as appropriate. > > itojun > > -------------------------------------------------------------------- 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] --------------------------------------------------------------------
