[Mono-bugs] [Bug 54565][Cri] New - Problems with raw sockets

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Thu, 19 Feb 2004 03:49:12 -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 giuseppe.greco@agamura.com.

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

--- shadow/54565	2004-02-19 03:49:12.000000000 -0500
+++ shadow/54565.tmp.2617	2004-02-19 03:49:12.000000000 -0500
@@ -0,0 +1,50 @@
+Bug#: 54565
+Product: Mono/Class Libraries
+Version: unspecified
+OS: Fedora 1.0
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Critical
+Component: System
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: giuseppe.greco@agamura.com               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: Problems with raw sockets
+
+The Socket class always throws a SocketException when
+traying to create a raw socket.
+
+Steps to reproduce the problem:
+
+1. Extract the test program from the attached tarball:
+   gzip -dc socket.tar.gz | tar -xvf -
+
+2. Execute mono receiver.exe <ipaddress>
+
+
+Actual Results:
+The constructor of the Socket class always throws the
+following exception:
+
+   Unhandled Exception: System.Net.Sockets.SocketException:
+   Network subsystem is down in (unmanaged)
+   /usr/local/lib/libmono.so.0(mono_raise_exception+0x1b) [0xc0b817]
+   in (unmanaged) /usr/local/lib/libmono.so.0 [0xc2683d]
+   in <0x00054> System.Net.Sockets.Socket:.ctor
+     (System.Net.Sockets.AddressFamily,System.Net.Sockets.SocketType,
+       System.Net.Sockets.ProtocolType)
+
+Expected Results:
+The Socket class should be able to create a raw socket
+successfully and communicate through it.
+
+How often does this happen? 
+Always.
+
+Additional Information:
+The attached test program works on M$ Windows.