Home
Projects
Download
Support
Sponsors
Sponsor Benefits
Buy Gifts
Donate Now
Join Us
Open Cooperation
Contribute
Contributors (26)
Events (2)
Academy
Outsourcing
Contact Us
Outsourcing
Open Cooperation
Sponsor
Others
Recruitment
Ask Us
Chat With Us
About Us
1
en vi
Home
Projects
Download
Support
Sponsors
Sponsor Benefits
Buy Gifts
Donate Now
Join Us
Open Cooperation
Contribute
Contributors (26)
Events (2)
Academy
Outsourcing
Contact Us
Outsourcing
Open Cooperation
Sponsor
Others
Recruitment
Ask Us
Chat With Us
About Us
Back to project ezyfox server
  • Getting Started
  • EzyFox Server Architecture
  • Create EzyFox Server Project
  • Use Embedded Server
  • Setup Embedded Server
  • EzyFox Server Annotations
  • Handle Socket Events
  • Handle Client Requests
  • EzyFox Server Project Configuration
  • Handle Exceptions
  • Handle Reconnection
  • EzyFox Server Login
  • EzyFox Server Config Websocket SSL
  • EzyFox Server SSL
  • EzyFox Server Stress Test
  • EzyFox Server Scale Up
  • Deploy EzyFox Server
  • EzyFox Server With Unity
  • EzyFox ES6 Client SDK
  • EzyFox Server Javascript Client SDK
  • EzyFox C++ Client SDK
  • EzyFox Android Client SDK
  • EzyFox CSharp Client SDK
  • EzyFox Swift Client SDK
  • EzyFox Flutter Client SDK
  • EzyFox Server React Native client SDK
  • Demo: EzySmashers MMO Game
  • Demo: One-Two-Three Game

Handle Reconnection

Updated at 1705294393000
For multi states application like a game, you handle a reconnection to allow use comeback to the state before user disconnected.

Flow

You can have a reconnect flow like that:

  1. After an user access app, you don't send a game logic command from client, you will send a reconnect command instead like this one
  2. On server you will check state of the user and response the reconnect data like this one
  3. Then on client you can process reconnect command response data and decide to reconnect the user to the current game or create new one like this one.
Previous Page Handle Exceptions Next Page EzyFox Server Login

Table Of Contents

Join Young Monkeys
to create a new world
Contact Us
Copyright © 2023 Young Monkeys. All rights reserved.
Alert