Bryan 423e6bc45c [ping]update README and change file encoding to UTF-8 7 ani în urmă
..
README.md 423e6bc45c [ping]update README and change file encoding to UTF-8 7 ani în urmă
SConscript 58226cece6 Add ping, tftp, iperf, netio, ntp, telnet utilities. 8 ani în urmă
ping.c 279e6bd825 [ping]change elapsed time unit from tick to ms 7 ani în urmă

README.md

Ping

1、介绍

ping 是一种网络工具,用来测试数据包能否通过 IP 协议到达特定主机。估算与主机间的丢失数据包率(丢包率)和数据包往返时间(网络时延,Round-trip delay time)。

2、使用

ping 支持访问 IP 地址域名 ,使用 Finsh/MSH 命令进行测试,大致使用效果如下:

2.1 Ping 域名

msh />ping rt-thread.org
60 bytes from 116.62.244.242 icmp_seq=0 ttl=49 time=11 ms
60 bytes from 116.62.244.242 icmp_seq=1 ttl=49 time=10 ms
60 bytes from 116.62.244.242 icmp_seq=2 ttl=49 time=12 ms
60 bytes from 116.62.244.242 icmp_seq=3 ttl=49 time=10 ms
msh />

2.2 Ping IP

msh />ping 192.168.10.12
60 bytes from 192.168.10.12 icmp_seq=0 ttl=64 time=5 ms
60 bytes from 192.168.10.12 icmp_seq=1 ttl=64 time=1 ms
60 bytes from 192.168.10.12 icmp_seq=2 ttl=64 time=2 ms
60 bytes from 192.168.10.12 icmp_seq=3 ttl=64 time=3 ms
msh />