lucaspoffo / renet

Server/Client network library for multiplayer games with authentication and connection management made with Rust
Apache License 2.0
685 stars 68 forks source link

Renetcode: disconnect clients that are sending ConnectionRequests #136

Closed lucaspoffo closed 10 months ago

lucaspoffo commented 11 months ago

If ConnectionRequest is received while a client is connected, this might be a rejoin. If the connection has started more than 10 seconds (could be a late packet) we force a disconnect so the connection workflow can restart.