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 [EMAIL PROTECTED] http://bugzilla.ximian.com/show_bug.cgi?id=80211 --- shadow/80211 2006-12-09 23:07:18.000000000 -0500 +++ shadow/80211.tmp.25531 2006-12-09 23:08:11.000000000 -0500 @@ -50,6 +50,30 @@ suggestions how/where to fix/patch is appreciated. ------- Additional Comments From [EMAIL PROTECTED] 2006-12-09 23:07 ------- Created an attachment (id=18257) Source code to repro problem + +------- Additional Comments From [EMAIL PROTECTED] 2006-12-09 23:08 ------- + Socket listenSocket = new Socket( + AddressFamily.InterNetwork, SocketType.Stream, +ProtocolType.Tcp); + listenSocket.SetSocketOption(SocketOptionLevel.Socket, + +SocketOptionName.ReuseAddress, 1); + listenSocket.Bind(new IPEndPoint(IPAddress.Any, 0)); + listenSocket.Listen(5); + IPEndPoint ipe = (IPEndPoint) listenSocket.LocalEndPoint; + int port = ipe.Port; + Console.WriteLine("Listening on {0}..", port); + + Socket connectSocket = new Socket( + AddressFamily.InterNetwork, SocketType.Stream, +ProtocolType.Tcp); + connectSocket.SetSocketOption(SocketOptionLevel.Socket, + +SocketOptionName.ReuseAddress, 1); + connectSocket.Bind(new IPEndPoint(IPAddress.Any, port)); + //connectSocket.Connect(new IPEndPoint("65.34.23.23", +80)); + Console.WriteLine("Connect done."); _______________________________________________ mono-bugs maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-bugs
