Java: Detecting client disconnects from server side?

The best way to detect a disconnection is to have the other end send a heartbeat and have the reader timeout when there is no data.

– garsh0p Apr 9 at 19:01 The writer sends the heartbeats, the reader expects them.It doesn't matter which end is the client or server. – Peter Lawrey Apr 9 at 22:05.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions