On Tue, 2005-02-01 at 10:41 +0000, Colm MacCarthaigh wrote:
> On Mon, Jan 31, 2005 at 11:04:59AM -1000, Antonio Querubin wrote:
> > IPv4-mapped addresses facilitate an important interoperability mechanism
> > in the socket API (RFC 3493, section 3.7).  While it's probably not a good
> > idea to transmit these addresses on the wire, I think the API still needs
> > a way to represent IPv4 addresses in a way that preserves compatibility
> > between IPv6 and IPv4 hosts.  Removal just makes transition all the more
> > time-consuming and difficult for software developers.
> 
> Removal and formal deprecation would simplify life for software
> developers.

I support this argument in favor of removing mapped addresses.

> So:
> 
>       if has_v6only is true then
>               listen(::)
>               listen(0.0.0.0)
>               use_[select|poll|kqueue|whatever]_loop()
>       else
>               listen(::)
> 
> just becomes:
> 
>       listen(::)
>       listen(0.0.0.0)
>       use_[select|poll|kqueue|whatever]_loop()

Replace the listen(::) + listen(0.0.0.0) with a getaddrinfo() info loop
and I completely agree ;)

Greets,
 Jeroen

Attachment: signature.asc
Description: This is a digitally signed message part

--------------------------------------------------------------------
IETF IPv6 working group mailing list
[email protected]
Administrative Requests: https://www1.ietf.org/mailman/listinfo/ipv6
--------------------------------------------------------------------

Reply via email to