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

Re: IPv4 mapped addresses issue



In article <20040614093458.GA32208@sverresborg.uninett.no> (at Mon, 14 Jun 2004 11:34:58 +0200), Stig Venaas <Stig.Venaas@uninett.no> says:

> > 	the behavior (relationship between AF_INET and AF_INET6 sockets/binds)
> > 	is not documented, so there's no standard.  sigh.
> 
> I second that. I would hope that also Linux allows you to bind both
> AF_INET6 and AF_INET when using IPV6_V6ONLY socket option; I think that
> would be reasonable and logical behaviour. I don't know if that is the
> case though.

Linux supports IPV6_V6ONLY socket option (default: off, as the RFC says).
If you set IPV6_V6ONLY socket option, you can 
bind(2) both IPv6 and IPv4 sockets on the port.

Thanks.

-- 
Hideaki YOSHIFUJI @ USAGI Project <yoshfuji@linux-ipv6.org>
GPG FP: 9022 65EB 1ECF 3AD1 0BDF  80D8 4807 F894 E062 0EEA

--------------------------------------------------------------------
IETF IPv6 working group mailing list
ipv6@ietf.org
Administrative Requests: https://www1.ietf.org/mailman/listinfo/ipv6
--------------------------------------------------------------------