Crates.io | minip2p |
lib.rs | minip2p |
version | 0.1.0 |
source | src |
created_at | 2023-08-19 08:22:11.618925 |
updated_at | 2023-08-19 08:22:11.618925 |
description | a user-friendly client for hole-punching |
homepage | https://github.com/adlsdztony/hkulibrary |
repository | https://github.com/adlsdztony/hkulibrary |
max_upload_size | |
id | 948551 |
size | 7,825 |
a user-friendly client for p2p
use minip2p::Client;
fn main() {
let client = Client::new(port);
client.connect_to_relay(relay_server)?
.pair_with(code)?;
}