Merge pull request #1111 from overheat/embassy_net_readme

fix net README.md
This commit is contained in:
Dario Nieuwenhuis 2022-12-13 12:27:10 +01:00 committed by GitHub
commit 4fbd03a908
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -17,11 +17,13 @@ sudo ip -6 route add fe80::/64 dev tap0
sudo ip -6 route add fdaa::/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: Then run the example located in the `examples` folder:
```sh ```sh
cd $EMBASSY_ROOT/examples/std/ cd $EMBASSY_ROOT/examples/std/
cargo run --bin net cargo run --bin net -- --static-ip
``` ```
## License ## License