We have a c++ server running with Poco libraries, when the constructor gets called, we add an event handler to a SocketReactor so we can read incoming requests from outsiders client.
The client I am coding is written in java.
When attempting a connection, everything goes well until we close the connection.
My server then receives something and then, the handler gets called indefinitely, when attempting to access the socket, Poco throws an exception "Connection reset by peer".
My question: How is this a problem ? The client closed the connection because he had his response, why is the server handler keeps getting called indefinitely, should a flag be set ?
Thanks for your replies.
- Pascal





