[Mono-bugs] [Bug 76496][Wis] New - GetSocketOption Error returns
native error code
bugzilla-daemon at bugzilla.ximian.com
bugzilla-daemon at bugzilla.ximian.com
Fri Oct 21 03:19:32 EDT 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 matthew at zeroc.com.
http://bugzilla.ximian.com/show_bug.cgi?id=76496
--- shadow/76496 2005-10-21 03:19:31.000000000 -0400
+++ shadow/76496.tmp.1519 2005-10-21 03:19:31.000000000 -0400
@@ -0,0 +1,43 @@
+Bug#: 76496
+Product: Mono: Class Libraries
+Version: 1.0
+OS: Mac OS X 10.3
+OS Details: Tiger 10.4.2
+Status: NEW
+Resolution:
+Severity:
+Priority: Wishlist
+Component: CORLIB
+AssignedTo: mono-bugs at ximian.com
+ReportedBy: matthew at zeroc.com
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL:
+Cc:
+Summary: GetSocketOption Error returns native error code
+
+Please fill in this template when reporting a bug, unless you know what you
+are doing.
+Description of Problem:
+
+
+Steps to reproduce the problem:
+1. Call Socket.GetSocketOption(SocketOptionLevel.Socket,
+SocketOptionName.Error);
+
+Actual Results:
+
+If there is an error it will return a native error code. For example, under
+MacOS 10.4.2 for a connection refused I get 61, which is:
+
+#define ECONNREFUSED 61 /* Connection refused */
+
+Expected Results:
+
+I expect to get a WSA error code. In this case WSACONNREFUSED.
+
+How often does this happen?
+
+All the time.
+
+Additional Information:
More information about the mono-bugs
mailing list