I am running into some issues with the Java socket API. I am trying to display the number of players currently connected to my game. It is easy to determine when a player h
I think this is nature of tcp connections, in that standards it takes about 6 minutes of silence in transmission before we conclude that out connection is gone! So I don`t think you can find an exact solution for this problem. Maybe the better way is to write some handy code to guess when server should suppose a user connection is closed.