Crates.io | chamomile |
lib.rs | chamomile |
version | 0.10.8 |
source | src |
created_at | 2020-06-11 08:40:54.240558 |
updated_at | 2024-03-19 00:21:01.721957 |
description | Another P2P Library. Support IoT devices. |
homepage | |
repository | https://github.com/cympletech/chamomile |
max_upload_size | |
id | 252665 |
size | 250,749 |
Build a robust stable connection on p2p network
cargo run --example permissionless 127.0.0.1:8000
cargo run --example permissionless 127.0.0.1:8001 127.0.0.1:8000
cargo run --example permissionless 127.0.0.1:8002 127.0.0.1:8000
If not support 127.0.0.1
binding, you can change to 0.0.0.0
and try again.
cargo run --example relay 192.168.xx.xx:8000
cargo run --example relay 127.0.0.1:8001 192.168.xx.xx:8000
cargo run --example relay 127.0.0.1:8002 192.168.xx.xx:8000 XX..
peer id
will connected it.127.0.0.1
to 0.0.0.0
, they will automatically connect after the handshake is successful, no longer need relay.This project is licensed under either of
at your option.