Hi,
I'm seeing a problem with the server/client connection (reproduced with threaded fortune server and fortune client) in this way:
1. Start fortuneClient and click "Get Fortune"
2. Wait until I receive the timeout message
3. Immediately start the Server after the timeout message
The server will receive an incomingConnection() even though the client's socket state is disconnected.
This becomes a problem in my application. If I start the Server listen() right after Client reaches the Unconnected state (from a connectToHost() attempt), the Server will say it's connected but the Client will say it's unconnected.
How do I detect that a "false" connection was created?
Thank you
Bookmarks