This PR adds support for kicking all connected clients, which (combined with the next change) allows for a "graceful" disconnect that does not require waiting for the clients to timeout.
The second change adds code to send a DISCONNECT PRUDP packet that will instantly kick a given client.
Combined with code on the game server itself (or perhaps even added here?) this means that e.g. catching CTRL+C and kicking all clients is possible (useful for testing!)
This PR adds support for kicking all connected clients, which (combined with the next change) allows for a "graceful" disconnect that does not require waiting for the clients to timeout.
The second change adds code to send a DISCONNECT PRUDP packet that will instantly kick a given client.
Combined with code on the game server itself (or perhaps even added here?) this means that e.g. catching CTRL+C and kicking all clients is possible (useful for testing!)