Hi,
I want to reconnect player in game room after disconnect . how can i do this?
How to Reconnect to the smart fox server
Re: How to Reconnect to the smart fox server
Hi,
if the disconnection is due to a temporary network error/hiccup this will usually help:
http://docs2x.smartfoxserver.com/Gettin ... n-hrc-plus
You just need to activate the reconnection system from the AdminTool and give it a reasonable reconnection time (typically 30-60 seconds)
The client API will do the rest (i.e. attempt to reconnect when disconnected)
Hope it helps
if the disconnection is due to a temporary network error/hiccup this will usually help:
http://docs2x.smartfoxserver.com/Gettin ... n-hrc-plus
You just need to activate the reconnection system from the AdminTool and give it a reasonable reconnection time (typically 30-60 seconds)
The client API will do the rest (i.e. attempt to reconnect when disconnected)
Hope it helps
Re: How to Reconnect to the smart fox server
I want know about client side working to reconnect . How can client side work?
Re: How to Reconnect to the smart fox server
The client detects a disconnection and retries to connect to the server.
On the other side (server) the old session is still alive and waiting for the old owner to come back. If this happens within the time limit you've configured the old session is revived and you're good to go.
If you want to learn more about disconnections I highly recommend these two articles from our blog:
http://smartfoxserver.com/blog/what-rea ... tworkwifi/
http://smartfoxserver.com/blog/handling ... e-devices/
Cheers
On the other side (server) the old session is still alive and waiting for the old owner to come back. If this happens within the time limit you've configured the old session is revived and you're good to go.
If you want to learn more about disconnections I highly recommend these two articles from our blog:
http://smartfoxserver.com/blog/what-rea ... tworkwifi/
http://smartfoxserver.com/blog/handling ... e-devices/
Cheers
Who is online
Users browsing this forum: No registered users and 50 guests