Hi all,


Sometimes I am getting Socket Programming - Some information about 'software caused connection abort' exception. The occurrence of exception is not fixed.


After doing some googling, I could figure out its possible causes:


  1. A connection abort was caused internal to your host machine. The software caused a connection abort because there is no space on the socket's queue and the socket cannot receive further connections.


  1. WinSock description: The error can occur when the local network system aborts a connection. This would occur if WinSock aborts an established connection after data retransmission fails (receiver never acknowledges data sent on a datastream socket).


  1. TCP/IP scenario: A connection will timeout if the local system doesn't receive an (ACK)nowledgement for data sent. It would also timeout if a (FIN)ish TCP packet is not ACK'd (and even if the FIN is ACK'd, it will eventually timeout if a FIN is not returned).


But can we avoid this exception?




Rupesh Mankar|Senior Software Engineer| Persistent Systems

rupesh_mankar@persistent.co.in  | Cell: +91 98239 16998| Tel: +91 (20) 3023 5139

Innovation in software product design, development and delivery- www.persistentsys.com


DISCLAIMER ========== This e-mail may contain privileged and confidential information which is the property of Persistent Systems Ltd. It is intended only for the use of the individual or entity to which it is addressed. If you are not the intended recipient, you are not authorized to read, retain, copy, print, distribute or use this message. If you have received this communication in error, please notify the sender and delete all copies of this message. Persistent Systems Ltd. does not accept any liability for virus infected mails.