diff options
| author | Valentin Trophime <[email protected]> | 2024-01-29 11:36:03 +0100 |
|---|---|---|
| committer | GitHub <[email protected]> | 2024-01-29 11:36:03 +0100 |
| commit | 283debfda4b84a15e3f6de551256b9a65c729715 (patch) | |
| tree | b4550d0d7ca3ad01cda5ce91023385ccbf52261c /examples/std/README.md | |
| parent | 702007f68b31718d0bea5af403c4c0a299fb6b6e (diff) | |
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.
Diffstat (limited to 'examples/std/README.md')
| -rw-r--r-- | examples/std/README.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/std/README.md b/examples/std/README.md index adc795928..e3a59d6ea 100644 --- a/examples/std/README.md +++ b/examples/std/README.md | |||
| @@ -13,11 +13,11 @@ sudo ip -6 route add fe80::/64 dev tap0 | |||
| 13 | sudo ip -6 route add fdaa::/64 dev tap0 | 13 | sudo ip -6 route add fdaa::/64 dev tap0 |
| 14 | ``` | 14 | ``` |
| 15 | 15 | ||
| 16 | Second, have something listening there. For example `nc -l 8000` | 16 | Second, have something listening there. For example `nc -lp 8000` |
| 17 | 17 | ||
| 18 | Then run the example located in the `examples` folder: | 18 | Then run the example located in the `examples` folder: |
| 19 | 19 | ||
| 20 | ```sh | 20 | ```sh |
| 21 | cd $EMBASSY_ROOT/examples/std/ | 21 | cd $EMBASSY_ROOT/examples/std/ |
| 22 | cargo run --bin net -- --static-ip | 22 | cargo run --bin net -- --static-ip |
| 23 | ``` \ No newline at end of file | 23 | ``` |
