Networking 关于Ping中的延迟
ping返回的延迟是什么意思 i、 e.下文中的“时间”Networking 关于Ping中的延迟,networking,ping,latency,Networking,Ping,Latency,ping返回的延迟是什么意思 i、 e.下文中的“时间” 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 statis
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
测量往返延迟,即网络数据包从发送主机A到目标主机B再返回所需的时间。这是发送请求和接收响应之间的时间(也称为“往返时间”)。通常,对于本地主机或本地网络而言,这仅为几毫秒,但对于卫星传输而言,这可能非常大(相对而言)
如果时间可能超过1秒,您可能必须提高超时时间,以便不将其检测为丢失的数据包
下图显示了这个想法
发送方-接收方
| |
ping请求||
^ | \ |
| | \ |
延迟-接收到+|\| ping
||/| ping响应
| | / |
v |/|
ping响应|/|
收到||
你刚刚得到的答案可能是因为这个问题应该通过编辑你之前的问题而不是发布新的问题来解决
SENDER RECEIVER
| |
ping request |\ |
^ | \ |
| | \ |
latency -+ | \| ping received
| | /| ping response
| | / |
v | / |
ping response |/ |
received | |