Hy everyone,
I have a little problem doing socket-programming.
I've made a console-application with a socket listening on a sertain port to
accept connections from other clients.
The only thing my application has to do is accept the incomming clients,
read the data and send it to a database.
Everything works fine, but now and then my socket server seems to
crash/hang.
When I check my error-handling I see that my application is throwing this
exception :
"An existing connection was forcibly closed by the remote host"
Restarting my application solves this problem.
I don't know the reason, nor how to solve it.
I've already surfed the internet al lot, but dit not come to an satisfying
answer.
Someone who can help me or who has experienced the same problem ?
Thanks,
Frederick R.
--------------------------------------------------------------------------------
Orion Electronic Solutions Rijselseweg 60, 8900 Ieper Tel: 0473 70 21 62
Fax: 057 36 46 31 E-mail: frederick@orionsolutions.be Website:
www.orionsolutions.be BTW : BE 0881 077 823