Zenoh allows users to send broadcast messages to all subscribers.
Install
1. Install rust
MacOS / Linux
$ curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
Windows
- Download and execute this exe file : https://www.rust-lang.org/tools/install
2. Download and build source code
- Download sourece code from GitHub : https://github.com/eclipse-zenoh/zenoh/archive/refs/heads/master.zip
- Unzip the zip file
$ cargo build --release --all-targets
3. Run demo
start pub (on terminal)
$ ./target/release/examples/z_pub -k demo/example/test -l tcp/127.0.0.1:7447
start sub (on another terminal)
$ ./target/release/examples/z_sub -k demo/example/test