[Mono-bugs] [Bug 55040][Wis] New - System.Net.Socket::SetSocketOption unmanaged call fails for Udp multicast code.

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Mon, 1 Mar 2004 16:01:53 -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 christopher.p.taylor@us.army.mil.

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

--- shadow/55040	2004-03-01 16:01:53.000000000 -0500
+++ shadow/55040.tmp.18783	2004-03-01 16:01:53.000000000 -0500
@@ -0,0 +1,44 @@
+Bug#: 55040
+Product: Mono/Runtime
+Version: unspecified
+OS: 
+OS Details: Windows 2K, 5.00.2195 (service pack4)
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Wishlist
+Component: misc
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: christopher.p.taylor@us.army.mil               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: System.Net.Socket::SetSocketOption unmanaged call fails for Udp multicast code.
+
+Please fill in this template when reporting a bug, unless you know what 
+you are doing.
+Description of Problem: When I try running managed code that calls 
+Socket.SetSocketOption for UDP Multicast, an unhandled exception is thrown
+when mono has to run the unmanaged code.
+
+
+Steps to reproduce the problem:
+1. Install Mono and the msvcr70.dll from the .NET SDK (I placed it into my 
+mono path in the lib directory).
+2. Build a UdpClient object
+3. UdpClientInstance.JoinMulticastGroup(someIP)
+
+Actual Results:
+Unhandled exception: System.Net.Socket.SocketException: Some sort of win32 
+error occured: 0 in (unmanaged) (wrapper managed-to-native)
+System.Net.Socket::SetSocketOption_internal(....)
+
+Expected Results:
+Socket Option should get set, and I should be able to send multicast udp 
+packets.
+
+How often does this happen? 
+Everytime I run the code
+
+Additional Information: