Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to avoid the 10053 error when using the TServerSocket

Status
Not open for further replies.

zyzjacky

Programmer
Jan 19, 2006
76
MT
Hi,
I am using the TServerSocket to do a simple server that receives client commands, and send back the processed result. Everything works fine except the 10053 error came up randomly, and then many 10054 error followed, and the server application crashed. I have already set the ErrorCode to 0 on the ErrorEvent, but no luck... Anyone can help? Thanks in advance.
 
hi,

in fact that code is WSAECONNABORTED (try to google it).
there could be 10000000 reasons why you are getting this code.

you should make your server so that it can't crash because of connection abortion error.

if you want more help, please show code (try to pin down the place where the crash occurs)

Cheers,
/Daddy

-----------------------------------------------------
What You See Is What You Get
Never underestimate tha powah of tha google!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top