Simpler doc

This commit is contained in:
Quentin Dufour 2019-03-15 17:17:58 +01:00
parent e300606b19
commit 3a923cf34b

View file

@ -47,11 +47,10 @@ nc 127.0.0.1 8000
If you write some data on your terminal and press enter, you will see that your data has been repeated. Well done!
Now, instead of using `nc`, we will use `measlat` to use this echo server to measure latencies:
Now, instead of using `nc`, we will use `measlat` to use this echo server to measure latencies (make sure that `udpecho` is still running):
```bash
udpecho -p 8001 &
measlat -h 127.0.0.1 -p 8001 -t udp
measlat -h 127.0.0.1 -p 8000 -t udp
```
`measlat` will send one packet to our udpecho server and wait to receive it back, measure the time it took, display it and exit.
@ -59,7 +58,7 @@ measlat -h 127.0.0.1 -p 8001 -t udp
You can use `measlat` more extensively by defining the number of measures to do, an interval and the size of the packet:
```bash
measlat -h 127.0.0.1 -p 8001 -t udp -c 10 -i 100 -s 150
measlat -h 127.0.0.1 -p 8000 -t udp -c 10 -i 100 -s 150
```
### Introduction to `donar`