[Mono-bugs] [Bug 73053][Nor] New - Non-blocking TCP Socket Accept Blocks

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Fri, 25 Feb 2005 22:52:46 -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 osp@tinet.org.

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

--- shadow/73053	2005-02-25 22:52:46.000000000 -0500
+++ shadow/73053.tmp.6477	2005-02-25 22:52:46.000000000 -0500
@@ -0,0 +1,47 @@
+Bug#: 73053
+Product: Mono: Class Libraries
+Version: 1.0
+OS: GNU/Linux [Other]
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Normal
+Component: System
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: osp@tinet.org               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: Non-blocking TCP Socket Accept Blocks
+
+Please fill in this template when reporting a bug, unless you know what 
+you are doing.
+Description of Problem:
+
+Non-blocking Listening TCP Socket Accept Blocks on Linux. On Windows XP 
+blocks as well when non-blocking is specified, and it doesn't block on a 
+blocking socket! :)
+
+Application works on Microsoft's runtime.
+
+Steps to reproduce the problem:
+1. Any code that specifies a non-blocking tcp listening socket block on 
+accept.
+2. 
+3. 
+
+Actual Results:
+It blocks
+
+Expected Results:
+Shouldn't block, a standard SocketException should raise when no incoming 
+connection is present
+
+How often does this happen? 
+Always
+
+Additional Information:
+
+Tested on mono 1.0.6