Forum BigDB Expected Behavior on Lost Wifi Connection

Discussion and help relating to the PlayerIO database solution, BigDB.

Expected Behavior on Lost Wifi Connection

Postby nlarson » January 14th, 2020, 1:10 am

In the C# api, what is the expected behavior for BigDB methods if the client's wifi connection goes down after the PlayerIOClient was authenticated?

What strategies are recommended for dealing with flaky wifi?

Is there any built in timeout on a PlayerIOClient session?


Posts: 5
Joined: March 8th, 2018, 12:21 pm

Re: Expected Behavior on Lost Wifi Connection

Postby Henrik » January 14th, 2020, 1:58 am

Hey Neil,

The Client connection is stateless, so nothing really much happens if the game client has no network connection, except that you can't make any PlayerIO calls, obviously.

If the game client is without network for hours, or doesn't make a single PlayerIO call in that time, the internal authentication token will time out, and you have to go through Authenticate again to be able to make new calls.

Multiplayer Connections to game servers are a whole different beast, and the answer is basically that it depends on the TCP/IP stack of the player's device and any network devices between the player and the game server. Short interruptions are typically fine, longer interruptions typically mean the TCP/IP connection is lost, and the player has to re-connect.
Posts: 1840
Joined: January 4th, 2010, 1:53 pm

Return to BigDB