I'm working with TCP IP Socket.
Is THIS the simplest way to detect that a client socket connection is broken?
I would be surprised if there is no Java API that detects a dead client and throws an exception. This should be possible at least when the server tries to send a packet to the client from the lack of an ACK response.