Curiosity about reconnection
Posted: 18 Sep 2019, 08:57
Hi,
I have documented a lot about the reconnection of SFS2x, I understood:
- To activate the reconnection simply enter a value> 0 in the administration page to the user reconnection frame.
(I am developing a turn-based card game, of which each round lasts from 1 to 30 seconds, for this reason I put the user reconnection frame 30 seconds)
- If the Ethernet cable or Wifi is disconnected, this event has no way of working.
I do not understand:
- When the user reconnection frame timer ends, what happens? Does the server try to send the client a Disconnect event?
- If the application is closed by mistake while in the game, how can the connection be re-established?
- If the application is closed by mistake while in the game, how can the user be returned to the current status of the game?
I have documented a lot about the reconnection of SFS2x, I understood:
- To activate the reconnection simply enter a value> 0 in the administration page to the user reconnection frame.
(I am developing a turn-based card game, of which each round lasts from 1 to 30 seconds, for this reason I put the user reconnection frame 30 seconds)
- If the Ethernet cable or Wifi is disconnected, this event has no way of working.
I do not understand:
- When the user reconnection frame timer ends, what happens? Does the server try to send the client a Disconnect event?
- If the application is closed by mistake while in the game, how can the connection be re-established?
- If the application is closed by mistake while in the game, how can the user be returned to the current status of the game?