fix net README.md

This commit is contained in:
Aaron Tsui 2022-12-13 14:06:37 +08:00
parent 1b8c0733e6
commit 95fdc7c552

View File

@ -17,11 +17,13 @@ sudo ip -6 route add fe80::/64 dev tap0
sudo ip -6 route add fdaa::/64 dev tap0
```
Second, have something listening there. For example `nc -l 8000`
Then run the example located in the `examples` folder:
```sh
cd $EMBASSY_ROOT/examples/std/
cargo run --bin net
cargo run --bin net -- --static-ip
```
## License