[Mono-bugs] [Bug 75351][Maj] Changed - UDP Socket does not receive broadcast UDP packets

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Fri Nov 4 06:32:35 EST 2005


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 dick at ximian.com.

http://bugzilla.ximian.com/show_bug.cgi?id=75351

--- shadow/75351	2005-11-03 17:30:07.000000000 -0500
+++ shadow/75351.tmp.30779	2005-11-04 06:32:35.000000000 -0500
@@ -127,6 +127,13 @@
 normal unicast direct to the port.  That's why I left the
 commented-out line in there, to demonstrate the difference in
 behaviour between unicast and broadcast.
 
 The bug as I described it is still present in 1.1.9.2.
 
+
+------- Additional Comments From dick at ximian.com  2005-11-04 06:32 -------
+You need to set SO_BROADCAST (aka SocketOptionName.Broadcast) to
+enable both sending _and_ reception of broadcast datagram packets on
+Linux.  Whether we should automatically enable SO_BROADCAST on all
+sockets needs careful consideration (we already set it if connect ()
+fails due to EACCESS.)


More information about the mono-bugs mailing list