2

ping 返回的延迟是什么意思?

即下面的“时间”

C:\Users\guest>ping -n 2 www.google.com

Pinging www.google.com [62.252.60.89] with 32 bytes of data: 
Reply from 62.252.60.89: bytes=32 time=11ms TTL=58 
Reply from 62.252.60.89: bytes=32 time=15ms TTL=58

Ping statistics for 62.252.60.89:
    Packets: Sent = 2, Received = 2, Lost = 0 (0% loss), 
Approximate round trip times in milli-seconds:
    Minimum = 11ms, Maximum = 15ms, Average = 13ms
4

2 回答 2

7

这是发送请求和接收响应之间的时间(也称为“往返时间”)。通常这对于 localhost 或本地网络只有几毫秒,但对于卫星传输来说可能非常大(相对)。

如果它可能超过一秒,您可能必须增加超时,以免将其检测为丢失的数据包。

下图向您展示了这个想法。

    SENDER               RECEIVER
                  |    |
    ping request  |\   |
             ^    | \  |
             |    |  \ |
    latency -+    |   \| ping received
             |    |   /| ping response
             |    |  / |
             v    | /  |
    ping response |/   |
    received      |    |

于 2009-04-21T10:59:58.500 回答
0

Ping测量往返延迟,即网络数据包从发送主机 A 到目标主机 B 并再次返回所需的时间。

于 2009-04-21T10:57:34.387 回答