Handling network interruption/connecitons

SmartFoxServer gurus looking for a new job and companies looking for multi-player developers, this is the right place to meet!

Moderators: Lapo, Bax

devki_audify
Posts: 1
Joined: 06 Sep 2022, 10:52

Handling network interruption/connecitons

Postby devki_audify » 06 Sep 2022, 11:03

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.
User avatar
Lapo
Site Admin
Posts: 23008
Joined: 21 Mar 2005, 09:50
Location: Italy

Re: Handling network interruption/connecitons

Postby Lapo » 06 Sep 2022, 14:14

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.
Lapo
--
gotoAndPlay()
...addicted to flash games

Return to “Job offers and requests”

Who is online

Users browsing this forum: No registered users and 23 guests