首页 > 后端开发 > php教程 > 怎么得到 PING 反回的的值

怎么得到 PING 反回的的值

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
发布: 2016-06-13 11:28:18
原创
1256 人浏览过

如何得到 PING 反回的的值
如何得到 PING 反回的的值

<br />文件 1.txt 内容是PING内容<br />Pinging www.qq.com [14.17.32.211] with 32 bytes of data:<br />Reply from 14.17.32.211: bytes=32 time=20ms TTL=53<br />Reply from 14.17.32.211: bytes=32 time=13ms TTL=53<br />Reply from 14.17.32.211: bytes=32 time=13ms TTL=53<br />Reply from 14.17.32.211: bytes=32 time=13ms TTL=53<br />Reply from 14.17.32.211: bytes=32 time=13ms TTL=53<br />Reply from 14.17.32.211: bytes=32 time=13ms TTL=53<br />Reply from 14.17.32.211: bytes=32 time=13ms TTL=53<br />Reply from 14.17.32.211: bytes=32 time=12ms TTL=53<br />Reply from 14.17.32.211: bytes=32 time=13ms TTL=53<br />Reply from 14.17.32.211: bytes=32 time=12ms TTL=53<br />Ping statistics for 14.17.32.211:<br />    Packets: Sent = 10, Received = 10, Lost = 0 (0% loss),<br />Approximate round trip times in milli-seconds:<br />    Minimum = 12ms, Maximum = 20ms, Average = 13ms<br />
登录后复制

要用什么代码,得到 Pinging (*值)[*值] with 32 bytes of data: (想得到 www.qq.com和14.17.32.211 )
最后再得到
Sent =*值
Received =*值
Lost =*值
Minimum =*值
Maximum =*值
Average = *值
PING

相关标签:
来源:php.cn
本站声明
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系admin@php.cn
最新问题
热门教程
更多>
最新下载
更多>
网站特效
网站源码
网站素材
前端模板