首頁 > 後端開發 > php教程 > 怎么得到 PING 反回的的值

怎么得到 PING 反回的的值

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
發布: 2016-06-13 12:42:53
原創
815 人瀏覽過

如何得到 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

相關標籤:
本網站聲明
本文內容由網友自願投稿,版權歸原作者所有。本站不承擔相應的法律責任。如發現涉嫌抄襲或侵權的內容,請聯絡admin@php.cn
最新問題
javascript - js正規符合特定字串
來自於 1970-01-01 08:00:00
0
0
0
為什麼說非物件呼叫成員函數fetch()
來自於 1970-01-01 08:00:00
0
0
0
資料庫設定檔必須要用二維數組
來自於 1970-01-01 08:00:00
0
0
0
熱門教學
更多>
最新下載
更多>
網站特效
網站源碼
網站素材
前端模板