[Mono-bugs] [Bug 42393][Cri] New - UDP Multicast fail on SetSocketOption
bugzilla-daemon@rocky.ximian.com
bugzilla-daemon@rocky.ximian.com
Mon, 5 May 2003 16:38:17 -0400 (EDT)
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 tuyo@tuyo.org.
http://bugzilla.ximian.com/show_bug.cgi?id=42393
--- shadow/42393 Mon May 5 16:38:17 2003
+++ shadow/42393.tmp.2716 Mon May 5 16:38:17 2003
@@ -0,0 +1,54 @@
+Bug#: 42393
+Product: Mono/Class Libraries
+Version: unspecified
+OS: Red Hat 8.0
+OS Details: on pentium
+Status: NEW
+Resolution:
+Severity:
+Priority: Critical
+Component: System
+AssignedTo: mono-bugs@ximian.com
+ReportedBy: tuyo@tuyo.org
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL:
+Cc:
+Summary: UDP Multicast fail on SetSocketOption
+
+Description of Problem:
+When building a UDP client/server, and the JoinMulticastGroup() is called
+in order for the socket to join a group. The SetSocketMethod of the
+Socket object fails and complains about a null value returned.
+
+
+
+Steps to reproduce the problem:
+1. create a multicast udp client
+2. create a multicast udp server
+3. broadcast a simple message from client to server
+
+Actual Results:
+----
+Unhandled Exception: System.NullReferenceException: A null value was
+found where an object instance was required
+in (unmanaged) mono [0x80dd094]
+in (unmanaged) mono
+(ves_icall_System_Net_Sockets_Socket_SetSocketOption_internal+0x1cf)
+[0x80dd2af]
+in <0x00113> 00 System.Net.Sockets.Socket:SetSocketOption
+(System.Net.Sockets.SocketOptionLevel,System.Net.Sockets.SocketOptionName,
+object)
+in <0x00044> 00 System.Net.Sockets.UdpClient:JoinMulticastGroup
+(System.Net.IPAddress)
+-----
+
+
+Expected Results:
+"hello from client to server"
+
+How often does this happen?
+all the time
+
+Additional Information:
+This program works just fine with .NET without any changes.