[Mono-bugs] [Bug 82044][Nor] New - IPv6 not supported on Windows

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Sun Jul 8 15:18:50 EDT 2007

Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by gert.driesen at pandora.be.


--- shadow/82044	2007-07-08 15:18:50.000000000 -0400
+++ shadow/82044.tmp.19610	2007-07-08 15:18:50.000000000 -0400
@@ -0,0 +1,49 @@
+Bug#: 82044
+Product: Mono: Runtime
+Version: 1.2
+OS Details: Windows XP SP2
+Status: NEW   
+Priority: Normal
+Component: misc
+AssignedTo: mono-bugs at ximian.com                            
+ReportedBy: gert.driesen at pandora.be               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+Summary: IPv6 not supported on Windows
+IPv6 does not appear to work on Windows, even though it is enabled (and 
+works fine using MS).
+To reproduce, compile and run the following code snippet (taken from bug 
+#81965) on Windows (with Microsoft TCP/IP version 6 installed):
+using System;
+using System.Net;
+using System.Net.Sockets;
+class Program
+  static void Main ()
+  {
+    Socket s = new Socket (AddressFamily.InterNetworkV6, SocketType.Dgram, 
+    s.Bind (new IPEndPoint (IPAddress.Parse ("::1"), 12345));
+  }
+Expected result:
+Successful executation.
+Actual result:
+Unhandled Exception: System.Net.Sockets.SocketException: An address 
+incompatible with the requested protocol was used
+  at System.Net.Sockets.Socket..ctor (AddressFamily family, SocketType 
+type, ProtocolType proto) [0x00000]
+  at Program.Main () [0x00000]

More information about the mono-bugs mailing list