[Mono-bugs] [Bug 75614][Cos] New - Some sort of w32 error when client closes socket

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Sat Jul 23 03:23:52 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 schwimmlehrer at hotmail.com.


--- shadow/75614	2005-07-23 03:23:52.000000000 -0400
+++ shadow/75614.tmp.1739	2005-07-23 03:23:52.000000000 -0400
@@ -0,0 +1,47 @@
+Bug#: 75614
+Product: Mono: Class Libraries
+Version: 1.1
+OS: Windows XP
+OS Details: 
+Status: NEW   
+Priority: Cosmetic
+Component: CORLIB
+AssignedTo: mono-bugs at ximian.com                            
+ReportedBy: schwimmlehrer at hotmail.com               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+Summary: Some sort of w32 error when client closes socket
+Description of Problem:
+I think this is only a cosmetic problem in the Exception text, at least on
+Windows. When a (flash) client closes a socket I get a SocketException
+(which is ok) but with the exception text "Some sort of w32 error occurred:
+10053" (10053 actually means the client closed the connection). The
+exception is raised in EndSend and not BeginSend (I am doing asynchronous
+IO), but this should not be a problem.
+Steps to reproduce the problem:
+1. Close the Flash client that has a socket connection to the server
+2. Server generates an Exception in EndSend
+Actual Results:
+Exception in EndSend:
+System.Net.Sockets.SocketException: Some sort of w32 error occurred: 10053
+in <0x00042>
+System.Net.Sockets.Socket+SocketAsyncResult:CheckIfThrowDelayedException ()
+in <0x00084> System.Net.Sockets.Socket:EndSend (IAsyncResult result)
+in [0x00015] (at D:\projects\chat2\server\Server.cs:226)
+ChatServer.Server:SendCallback (IAsyncResult ar)
+Expected Results:
+Exception in BeginSend - but could also be in EndSend like it is now, but
+with this text:
+System.Net.Sockets.SocketException: An established connection was aborted
+by the software in your host machine.
+How often does this happen? 

More information about the mono-bugs mailing list