nio channels with IPv6 on Windows XP
Christopher Hegarty - Sun Microsystems Ireland
Christopher.Hegarty at Sun.COM
Fri Dec 11 08:36:17 PST 2009
Thomas,
Windows IPv6 support was added to the NIO channels in JDK7 b36, and was
only supported on Windows platforms that have a dual TCP/IP stack, i.e.
Windows Vista (and greater). So you correct, it is a known limitation
and by design.
See : http://bugs.sun.com/view_bug.do?bug_id=6230761
-Chris.
On 11/12/2009 16:17, Salter, Thomas A wrote:
> It seems that AsynchronousServerSocketChannel does not work with IPv6 sockets on Windows XP (the combination that invokes the TwoStack implementations). Is this a known restriction or is it intended to work? I can certainly understand why you might not want to support it.
>
> I tested on b77. My test runs on Windows 7 but fails on Windows XP. It fails on the bind because an IPv6 address is passed to AF_INET socket.
>
>
>
More information about the nio-dev
mailing list