Skip to content

Latest commit

 

History

History
29 lines (21 loc) · 757 Bytes

README.md

File metadata and controls

29 lines (21 loc) · 757 Bytes

raknet-client

RakNet Client written in Rust.

Usage

📄Cargo.toml

[dependencies]
raknet-client = { git = "https://github.com/ismaileke/raknet-client.git", branch = "master" }
tokio = "1.41.0"

📄main.rs

use raknet_client::client;

#[tokio::main]
async fn main() {
    let client = client::create("127.0.0.1".to_string(), 19132, "1.21.40".to_string(), true); // target address, target port, client version, debug mode
    client.await.unwrap().connect().expect("Target IP Connection Error");
}

raknet-client

Note

It is still in development. I can't develop the project because I don't have time. There are still some shortcomings.