[Mono-bugs] [Bug 76915][Nor] Changed - NET_2_0: SocketException.SocketErrorCode not implemented

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Tue Dec 6 20:04:47 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 robertj at gmx.net.

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

--- shadow/76915	2005-12-06 12:56:16.000000000 -0500
+++ shadow/76915.tmp.10002	2005-12-06 20:04:47.000000000 -0500
@@ -1,23 +1,23 @@
 Bug#: 76915
-Product: Mono: Runtime
+Product: Mono: Class Libraries
 Version: 1.1
 OS: unknown
 OS Details: any Debian distribution
 Status: NEW   
 Resolution: 
 Severity: Unknown
 Priority: Normal
-Component: io-layer
+Component: System
 AssignedTo: dick at ximian.com                            
 ReportedBy: thetrick at gmx.net               
 QAContact: mono-bugs at ximian.com
 TargetMilestone: ---
 URL: 
 Cc: 
-Summary: Crash while accessing System.Net.Sockets.SocketException.SocketErrorCode
+Summary: NET_2_0: SocketException.SocketErrorCode not implemented
 
 Please fill in this template when reporting a bug, unless you know what you
 are doing.
 Description of Problem:
 
 When the SocketErrorCode member of the SocketException class is accessed,
@@ -111,6 +111,22 @@
 
             Console.WriteLine("Socket closed...");
         }
     }
 }
 
+
+------- Additional Comments From robertj at gmx.net  2005-12-06 20:04 -------
+What do you mean with crash? If I compile your sample with
+gmcs, I get
+
+sock.cs(18,35): error CS0117: `System.Net.Sockets.SocketException'
+does not contain a definition for `SocketErrorCode'
+
+because SocketErrorCode is not implemented by mono's class libs.
+
+If I compile the code with CSC under .NET 2.0 and run
+the code under linux I get your stacktrace. This is
+how the runtime currently handles missing members.
+
+- changed the subject
+- moved to class libs


More information about the mono-bugs mailing list