Forum Multiplayer Disconnection

Discussion and help relating to the PlayerIO Multiplayer API.

Disconnection

Postby CourtneyDurham » October 28th, 2020, 12:33 pm

Hi,

There are any king of inactivity disconection to the server? Recently we have noticed a disconnection if the connection is inactive for like 3 minutes. routerlogin
Last edited by CourtneyDurham on November 14th, 2020, 12:28 am, edited 1 time in total.
CourtneyDurham
 
Posts: 1
Joined: October 28th, 2020, 12:25 pm

Re: Disconnection

Postby Henrik » November 11th, 2020, 4:22 am

PlayerIO doesn't do anything special, either to keep-alive connections, or to force-close on inactivity, it's all managed by whatever TCP/IP stack is on the device your game client is running on. Mobile devices might have stricter rules than stationary computers, and there might be networking equipment such as firewalls between your devices and the servers that for some reason decides to kill the connections.

Either way, it's a good idea to have some sort of re-connect logic in your game client, because Multiplayer connections can drop for whatever crazy reasons, the player took an elevator ride or I don't know, and if your game can handle a re-connection without aborting the game, that is awesome for your players.
Henrik
.IO
 
Posts: 1880
Joined: January 4th, 2010, 1:53 pm


Return to Multiplayer