| Crates.io | renetcode2 |
| lib.rs | renetcode2 |
| version | 0.10.0 |
| created_at | 2024-12-23 19:40:35.668839+00 |
| updated_at | 2025-06-20 23:19:03.622437+00 |
| description | Server/Client network protocol library for multiplayer games |
| homepage | |
| repository | https://github.com/UkoeHB/renet2 |
| max_upload_size | |
| id | 1493353 |
| size | 126,732 |
Renetcode2 is a simple connection based client/server protocol, was developed be used in games with UDP in mind, but can be used with other transports methods. Implements the Netcode 1.a2 standard with renet2 extensions, available here and the original implementation in C is available in the netcode repository. See NETCODE_EXTENSIONS.md for the extensions implemented here.
Has the following feature:
and protects the game server from the following attacks:
Check out the echo example to see an usage with UDP. Run the server with:
cargo run --example echo -- server 5000
run the client with:
cargo run --example echo -- client 5000 my_username