blob: dcc152fc28d871a27d82e51d18defd50476c9648 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
## 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.
```sh
sudo sh tap.sh
```
Second, have something listening there. For example `nc -lp 8000`
Then run the example located in the `examples` folder:
```sh
cd $EMBASSY_ROOT/examples/std/
sudo cargo run --bin net -- --tap tap99 --static-ip
```
|