[Mono-bugs] [Bug 74661][Nor] Changed - Asynchronous I/O not working with windows

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Thu, 21 Apr 2005 13:26:23 -0400 (EDT)

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 dominic_ullmann@hispeed.ch.


--- shadow/74661	2005-04-19 17:55:13.000000000 -0400
+++ shadow/74661.tmp.23532	2005-04-21 13:26:23.000000000 -0400
@@ -1,13 +1,13 @@
 Bug#: 74661
 Product: Mono: Class Libraries
 Version: 1.1
 OS: unknown
 OS Details: XP
-Status: RESOLVED   
-Resolution: NOTABUG
+Status: REOPENED   
 Severity: Unknown
 Priority: Normal
 Component: CORLIB
 AssignedTo: mono-bugs@ximian.com                            
 ReportedBy: dominic_ullmann@hispeed.ch               
 QAContact: mono-bugs@ximian.com
@@ -91,6 +91,37 @@
 and everything worked fine. On MS the client prints the 'write
 completed' message sometimes, but not always.
+------- Additional Comments From dominic_ullmann@hispeed.ch  2005-04-21 13:26 -------
+Thank you for the quick answer.
+I'm sorry, I've stripped out a little too much on the client side 
+for this test.
+But nevertheless, the problem is on the server side.
+Also when applying your change, the exeption arrives most of the 
+time. I managed only once (out of 10 tests) to get the server 
+receiving correctly.
+You may also test with e.g. telnet localhost 13000 to use another 
+client side (and this one should keep the connection open). In this 
+case, I always get this issue.
+I'm experiencing this problem possilby a lot, because I'm running 
+mono inside a ms virtual pc. This possibly changes some timings.
+BTW: When closing the connection on the client side with ms.net, the 
+EndRead on the server returns with 0 bytes read (and no exception).
+From MSDN documentation:
+If the remote host shuts down the Socket connection and all 
+available data has been received, the EndRead method will complete 
+immediately and return zero bytes.
+Thank you
+Best regards!