Skip to content

Commit 02a248d

Browse files
author
Artiom N.
committed
README ping example fixed
1 parent dd0703b commit 02a248d

File tree

1 file changed

+11
-5
lines changed

1 file changed

+11
-5
lines changed

README.md

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -332,11 +332,17 @@ sys network power video storage lp input audio wheel artiom docker
332332
Пример:
333333

334334
```cmd
335-
➭ ./run sudo ./build/bin/ch02-ping google.com
336-
Pinging "google.com" [64.233.165.113]
337-
Start to sending packets...
338-
Sending packet 0 to "google.com" request with id = 29
339-
Receiving packet 0 from "google.com" response with id = 29, time = 15.5ms
335+
./run sudo ./build/bin/b01-ch04-ping-from-root google.com
336+
Pinging "google.com" [142.250.113.113]
337+
Raw socket was created...
338+
Starting to send packets...
339+
TTL = 255
340+
Recv timeout seconds = 1
341+
Recv timeout microseconds = 0
342+
Sending packet 0 to "google.com" request with id = 33
343+
Receiving packet 0 from "google.com" response with id = 33, time = 159ms
344+
Sending packet 1 to "google.com" request with id = 33
345+
Receiving packet 1 from "google.com" response with id = 33, time = 160ms
340346
```
341347

342348
[К оглавлению ⮐](#%D0%BE%D0%B3%D0%BB%D0%B0%D0%B2%D0%BB%D0%B5%D0%BD%D0%B8%D0%B5)

0 commit comments

Comments
 (0)