mirror of
https://github.com/embassy-rs/embassy.git
synced 2025-09-27 12:20:37 +00:00
Running the embassy-net
examples
First, create the tap99 interface. (The number was chosen to hopefully not collide with anything.) You only need to do this once.
sudo sh tap.sh
Second, have something listening there. For example nc -lp 8000
Then run the example located in the examples
folder:
cd $EMBASSY_ROOT/examples/std/
sudo cargo run --bin net -- --tap tap99 --static-ip