Page 1 of 1

Handling network interruption/connecitons

Posted: 06 Sep 2022, 11:03
by devki_audify
Hello all, I am trying to handle network interruptions in my 2 player game.
I am particularly interested in situation like internet device shift(for eg. mobile data to wifi), If one user manually turns off the mobile data or wifi, then how can I tell smartfox server that he is disconnected? Also How can I send this information to opponent that the user is having network issues.

Re: Handling network interruption/connecitons

Posted: 06 Sep 2022, 14:14
by Lapo
Hi,
I would recommend these two articles on our blog:
https://smartfoxserver.com/blog/what-re ... tworkwifi/
https://smartfoxserver.com/blog/handlin ... e-devices/

They go into a lot of details about the questions you've asked.

If there's anything else let us know.