lucaspoffo / renet

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

Renetcode: disconnect clients that are sending ConnectionRequests #136

Closed lucaspoffo closed 9 months ago

lucaspoffo commented 9 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.