According to the lifecycle of a server documentation, the server should call ReadyForPlayers() once its ready to move into the Standby state. This article says that players should be able to connect to the server before ReadyForPlayers() is called. Does this mean TCP listen sockets should be listening at this point? If so, how do I prevent players from connecting to my server during the standby state?
Server instances seem to reuse ports of previously terminated server instances. This means a client attempting to reconnect can't discriminate between the server it was trying to reconnect to, and a new one now sitting in standby listening on the same port.
I feel like there should be a state between Standby and Active where a game server has a chance to begin listening, so that the it doesn't need to be listening during Standby.
Perhaps there's something I'm misinterpreting or don't understand.