rust-raknet-0.7.0 has been yanked.
rust-raknet

RakNet Protocol implementation by Rust.
Raknet is a reliable udp transport protocol that is generally used for communication between game clients and servers, and is used by Minecraft Bedrock Edtion for underlying communication.
Raknet protocol supports multiple reliability, and has better transmission performance than TCP in unstable network environments. This project is an incomplete implementation of the protocol.
Reference : http://www.jenkinssoftware.com/raknet/manual/index.html
This project is not affiliated with Jenkins Software LLC nor RakNet.
Features
- Async
- MIT License
- Pure Rust implementation
- Fast Retransmission
- Selective Retransmission (TCP/Full Retransmission)
- Non-delayed ACK (TCP/Delayed ACK)
- RTO Not Doubled (TCP/RTO Doubled)
- Linux/Windows/Mac/BSD support
- Compatible with Minecraft 1.18.x
Get Started
# Cargo.toml
[]
= "*"
Documentation : https://docs.rs/rust-raknet/latest/rust_raknet/
Reliability
- unreliable
- unreliable sequenced
- reliable
- reliable ordered
- reliable sequenced
Example
//server
async
//client
async
Contribution
If you want to develop with me, you can contact me via discord or email.