Hello IPv6:

 

In RFC 3493 it is said AF_INET6 sockets receive connections from IPv4 nodes, mapping their addresses to ::ffff:<IPv4 address>. I think this behaviour is on by default. Although it is not explicitly stated, section 5.3 indicates a way to turn off this behaviour using the IPv6_V6ONLY socket option.

I was wondering if you can or can't bind both AF_INET6 and AF_INET sockets to the same port at the same time. Is it ok or is it a bind error? If it is not an error which socket receives a IPv4 connection? Both? Only one? None?

In my test lab I can't seam to be able to get Microsoft's O.S. AF_INET6 sockets to receive connections from IPv4, forcing me to bind 2 sockets, one in each protocol. In linux it works fine though, I only nead one socket. I have not tested any other O.S. yet. This seams highly contraditory...

 

            Regards,

                        João Nóbrega.

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

Reply via email to