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 various reliability options, and has better transmission performance than TCP in unstable network environments. This project is an incomplete implementation of the protocol by reverse engineering.
This project is not affiliated with Jenkins Software LLC nor RakNet.
- 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
[dependencies] rust-raknet = "*"
- unreliable sequenced
- reliable ordered
- reliable sequenced
Print Raknet Debug Log
Print Raknet Error Log
Print Raknet Info Log
Implementation of Raknet Server.
Raknet socket wrapper with local and remote.
Enumeration type options for Raknet transport reliability
A switch to print Raknet logs 8 bit flag (00000000) enable print debug log = 1 enable print error log = 2 enable print info log = 4 enable print debug && error = 3