CreoverseTeam / CreoversePublic

Public issue/wiki for Creoverse
5 stars 0 forks source link

Transfer Host #16

Closed AustinSmith13 closed 3 years ago

AustinSmith13 commented 4 years ago

How to transfer the host?

Is this to much work than its worth?

Do we need to setup nat punch through.

AustinSmith13 commented 4 years ago

I have determined that host migration is possible and is worth doing. We will have NAT punch through.

Implementation Details The host has a list of potential new hosts that considers play-time and connection. When the host disconnects, instead of immediately disconnecting it initiates a migration response to the players. All players are notified with the new host connection information. The new host is notified with the server side state.

Pros:

Cons