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

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