fix: typo in netcat command for std example
The previous given command `nc -l 8000` doesn't let me see anything and lead to a "WARN connect error: ConnectionReset". By explicitly changing the `local-port` of `nc` with the `-p` I can now see the `Hello` message printed, and the warning log disappeared.
This commit is contained in:
parent
702007f68b
commit
283debfda4
1 changed files with 2 additions and 2 deletions
|
@ -13,11 +13,11 @@ 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`
|
Second, have something listening there. For example `nc -lp 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 -- --static-ip
|
cargo run --bin net -- --static-ip
|
||||||
```
|
```
|
||||||
|
|
Loading…
Reference in a new issue