[Mono-bugs] [Bug 70836][Nor] Changed - Poll Times out on Sockets which have been closed

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Mon, 10 Jan 2005 18:27:49 -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 gonzalo@ximian.com.

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

--- shadow/70836	2004-12-30 14:09:08.000000000 -0500
+++ shadow/70836.tmp.727	2005-01-10 18:27:49.000000000 -0500
@@ -45,6 +45,21 @@
 How often does this happen? 
 Always
 
 Additional Information:
 I only tested this with SelectMode.SelectRead - the .Net behaviour should
 be replicated for all SelectModes.
+
+------- Additional Comments From gonzalo@ximian.com  2005-01-10 18:27 -------
+With the test case I made I get the same behaviour under MS and mono:
+gonzalo@lalo:/tmp $ mono connect.exe
+Connected: True
+Sleeping 20s
+Polling: 1/10/2005 5:31:54 PM
+Read?: True
+Write?: True
+Error?: False
+End 1/10/2005 5:31:59 PM
+
+The five seconds are spent when polling for SelectError. SelectRead
+and SelectWrite return immediately.
+