1 decade ago by Joncom
I'm using socket.io in my game to send chat messages, and player movement data.
Recently I've noticed that if I join the game in Chrome, and then minimize the game and go away for a few hours, when I come back the player has be dropped from the socket server.
There is no error message on the server or the client.
From the servers point of view, the client simply decided to leave.
From the clients point of view, he never left.
Consider me puzzled. Any insights?
Recently I've noticed that if I join the game in Chrome, and then minimize the game and go away for a few hours, when I come back the player has be dropped from the socket server.
There is no error message on the server or the client.
From the servers point of view, the client simply decided to leave.
From the clients point of view, he never left.
Consider me puzzled. Any insights?