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

Re: getaddrinfo address ordering [Re: IPv6 transition architecture discussion]



> > it's fairly easy for an app to reorder addresses that it gets back
> > between IPv4 and IPv6.  but I often find myself wanting to specify
> > a mixed preference like:
> > 
> > 6to4 addresses
> 
> .. particularly if you use 6to4 addresses yourself; otherwise you really
> don't buy much by separating them from other v6.
> 
> > native IPv4
> > other IPv6
> 
> Yeah -- but that's something that we must not try to plug into every app
> -- it should really be done by lower layers (at least, by functions
> provided by lower layers).  No need to write the code 1000 times :-).

personally I intend to rewrite the library routine so that it references
a config file that specifies preferred ordering.  eventually it might be 
nice if the host could get that preference list from the local network.

Keith