Crates.io | veilid_duplex |
lib.rs | veilid_duplex |
version | 0.2.2 |
source | src |
created_at | 2023-10-25 13:07:30.369139 |
updated_at | 2024-09-22 09:20:16.101178 |
description | Full-duplex encrypted communication between 2 nodes |
homepage | |
repository | https://gitlab.com/cwiz/veilid_duplex |
max_upload_size | |
id | 1013355 |
size | 164,611 |
Full-duplex asyncronous communication between two peers with Veilid.
Veilid duplex manages veilid internals for you, such as allocating routes and recovering from route shutdowns.
See pingpong example.
2 peers increment the counter and pass it to each other.
Host:
cargo run --example pingpong -- --server --verbose
This will print host's DHT key
Client:
cargo run --example pingpong -- --verbose --client "VLD0:MDoZwLsoQgM6-XKE3giy-8r53e4yCod5Y546laT0El0"