zoukankan      html  css  js  c++  java
  • 什么是丢包,为什么会丢包

    什么是丢包,为什么会丢包

    http://network.51cto.com  2005-12-22 13:30    51CTO.COM  我要评论(0)
    • 摘要:数据在INTERNET上的传输方式数据在INTERNET上是以数据包为单位传输 的,每包nK,不多也不少。这就是说,不管你的网有多好,你的数据都不会是以线性(就象打电话一样)传输的,中间总是有空洞的。数据包的传输,不可能百分 之百的能够完成,因为种种原因,总会有一定的损失。碰到这种情况,INTERNET会自动的让双方的电脑根据协议来补包。
    • 标签:

    数据在INTERNET上的传输方式数据在INTERNET上是以数据包为单位传输的,每包nK,不多也不少。这就 是说,不管你的网有多好,你的数据都不会是以线性(就象打电话一样)传输的,中间总是有空洞的。数据包的传输,不可能百分之百的能够完成,因为种种原因, 总会有一定的损失。碰到这种情况,INTERNET会自动的让双方的电脑根据协议来补包。如果你的线路好,速度快,包的损失会非常小,补包的工作也相对较 易完成,因此可以近似的将你的数据看做是无损传输。但是,如果你的线路较差(如用猫),数据的损失量就会非常大,补包工作也不可能百分之百完成。在这种情 况下,数据的传输就会出现空洞,造成丢包。

    刚才错怪linode了,是我的name.com的解析服务有丢包,要从它那里转出来

    mlzboy@mlzboy-mac:~$ ping 74.221.222.223

    PING 74.221.222.223 (74.221.222.223) 56(84) bytes of data.

    64 bytes from 74.221.222.223: icmp_seq=1 ttl=51 time=234 ms

    64 bytes from 74.221.222.223: icmp_seq=2 ttl=51 time=347 ms

    64 bytes from 74.221.222.223: icmp_seq=3 ttl=51 time=250 ms

    64 bytes from 74.221.222.223: icmp_seq=4 ttl=51 time=380 ms

    64 bytes from 74.221.222.223: icmp_seq=5 ttl=51 time=287 ms

    64 bytes from 74.221.222.223: icmp_seq=6 ttl=51 time=224 ms

    64 bytes from 74.221.222.223: icmp_seq=7 ttl=51 time=473 ms

    64 bytes from 74.221.222.223: icmp_seq=8 ttl=51 time=380 ms

    64 bytes from 74.221.222.223: icmp_seq=9 ttl=51 time=287 ms

    64 bytes from 74.221.222.223: icmp_seq=10 ttl=51 time=225 ms

    64 bytes from 74.221.222.223: icmp_seq=11 ttl=51 time=329 ms

    64 bytes from 74.221.222.223: icmp_seq=12 ttl=51 time=248 ms

    64 bytes from 74.221.222.223: icmp_seq=13 ttl=51 time=246 ms

    64 bytes from 74.221.222.223: icmp_seq=14 ttl=51 time=365 ms

    64 bytes from 74.221.222.223: icmp_seq=15 ttl=51 time=260 ms

    64 bytes from 74.221.222.223: icmp_seq=16 ttl=51 time=387 ms

    64 bytes from 74.221.222.223: icmp_seq=17 ttl=51 time=298 ms

    64 bytes from 74.221.222.223: icmp_seq=18 ttl=51 time=209 ms

    64 bytes from 74.221.222.223: icmp_seq=19 ttl=51 time=234 ms

    ^C

    --- 74.221.222.223 ping statistics ---

    19 packets transmitted, 19 received, 0% packet loss, time 18019ms

    rtt min/avg/max/mdev = 209.395/298.454/473.422/71.104 ms

  • 相关阅读:
    codevs2034 01串2
    codevs2622数字序列( 连续子序列最大和O(n)算法)
    codevs3008加工生产调度(Johnson算法)
    codevs1955光纤通信(并查集)
    codevs4203山区建小学
    codevs2618核电站问题
    常用端口
    ntp时间同步服务器
    date linux系统校正时间
    用户切换
  • 原文地址:https://www.cnblogs.com/lexus/p/1810341.html
Copyright © 2011-2022 走看看