[Mono-bugs] [Bug 39178][Nor] New - UdpClient.Connect fails with broadcast address
bugzilla-daemon@rocky.ximian.com
bugzilla-daemon@rocky.ximian.com
Thu, 6 Mar 2003 04:08:11 -0500 (EST)
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 clause@online.no.
http://bugzilla.ximian.com/show_bug.cgi?id=39178
--- shadow/39178 Thu Mar 6 04:08:11 2003
+++ shadow/39178.tmp.14658 Thu Mar 6 04:08:11 2003
@@ -0,0 +1,52 @@
+Bug#: 39178
+Product: Mono/Class Libraries
+Version: unspecified
+OS: Red Hat 8.0
+OS Details: Mono 0.21
+Status: NEW
+Resolution:
+Severity:
+Priority: Normal
+Component: System
+AssignedTo: mono-bugs@ximian.com
+ReportedBy: clause@online.no
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL:
+Cc:
+Summary: UdpClient.Connect fails with broadcast address
+
+Please fill in this template when reporting a bug, unless you know what
+you are doing.
+Description of Problem:
+
+Running as root on the box UdpClient.Connect fails when the destination
+address is a broadcast address.
+
+
+Steps to reproduce the problem:
+1.
+using System.Net.Sockets;
+
+UdpClient udpClient = new UdpClient();
+udpClient.Connect( IPAddress.Parse( "255.255.255.255" ), 9999 );
+
+Actual Results:
+
+System.Net.Sockets.SocketException: Access denied
+in (unmanaged) mono(mono_raise_exception+0x20) [0x80c14f4]
+in (unmanaged) mono
+(ves_icall_System_Net_Sockets_Socket_Connect_internal+0x7a) [0x80dbef6]
+in <0x0005a> 00 System.Net.Sockets.Socket:Connect (System.Net.EndPoint)
+in <0x00017> 00 System.Net.Sockets.UdpClient:Connect
+(System.Net.IPEndPoint)
+
+Expected Results:
+
+No error (like experienced on MS.Net + Windows)
+
+How often does this happen?
+
+Every time.
+
+Additional Information: