Reproduce WSAECONNABORTED - Error 10053

sukhoi35
sukhoi35 used Ask the Experts™
on
Hello,
I am currently testing a C++ application and the application crashed on receiving the above error. I have been asked to further investigate this issue but I could not locate ways to reproduce the above network error. Any suggestions?
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Hi sukhoi35,

There is a repro for this error here with an explanation:

  http://www.chilkatsoft.com/p/p_299.asp


ike
trinitrotolueneDirector - Software Engineering

Commented:
on the receive side of the socket check whether you are indeed allocating sufficient buffer space for receiving the data...

is it a blocking or non-blocking socket that you are implementing?
trinitrotolueneDirector - Software Engineering

Commented:
close the socket only after you have received all the data...
trinitrotolueneDirector - Software Engineering
Commented:
implement a sort of handshake protocol where the server side of the socket shuts down only after it has received an ack from the client side of the socket. Do not close the server side of the socket before that

so what I am suggesting is that you send a simple control message to the server ....maybe an "ACK" and only if the server receives this it should close down its side of the socket. Makes sense?

thats probably the logical reason for the error you are seeing

Author

Commented:
Thanks!

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial