Crates.io | chamomile |
lib.rs | chamomile |
version | 0.11.1 |
source | src |
created_at | 2020-06-11 08:40:54.240558+00 |
updated_at | 2024-12-18 22:53:19.464236+00 |
description | Another P2P Library. Support IoT devices. |
homepage | https://cympletech.com |
repository | https://github.com/cympletech/chamomile |
max_upload_size | |
id | 252665 |
size | 255,628 |
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.