F
Frederick
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.
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.