[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: draft-cmetz-v6ops-v4mapped-api-harmful-00.txt and draft-itojun-v6ops-v4mapped-harmful-01.txt



 In your previous mail you wrote:

   On Fri, 12 Sep 2003, Francis Dupont wrote:
   >  In your previous mail you wrote:
   > 
   >    Francis, could you clarify how your local credo translates to how you'd 
   >    like to, for example, port applications to IPv6?
   >    
   > => I replace all AF_INET by AF_INET6, gethostbyname() by getaddrinfo(),
   > gethostbyaddr() by getnameinfo(), etc. I use one socket at the
   > server side because I consider there is only one IP, in the API it
   > becomes IPv6 with IPv4 space injected (in the math meaning) into
   > the IPv6 space as IPv4-mapped IPv6 addresses.
   
   What about client apps -- do you set up AI_MAPPED flag when doing 
   getaddrinfo?
   
=> AI_MAPPED? I believe you mean AI_V4MAPPED, it doesn't really matter
for a client, i.e., you can use AF_UNSPEC or AI_V4MAPPED|AI_ALL.
The important flag is AI_ADDRCONFIG (we have some IPv6 only boxes here).

I still don't want to reopen this endless discussion, so I don't answer
to the rest of the message in the list.

Regards

Francis.Dupont@enst-bretagne.fr