zoukankan      html  css  js  c++  java
  • 为什么一个包大小不是256呢

    node2发到node1:
    
    02:01:24.190770 IP node2.31684 > node1.webcache: Flags [S], seq 3726408144, win 2560, options [mss 256,sackOK,TS val 117298465 ecr 0,nop,wscale 7], length 0
    02:01:24.190806 IP node1.webcache > node2.31684: Flags [S.], seq 1813476634, ack 3726408145, win 1708, options [mss 256,sackOK,TS val 117724869 ecr 117298465,nop,wscale 6], length 0
    02:01:24.191144 IP node2.31684 > node1.webcache: Flags [.], ack 1, win 20, options [nop,nop,TS val 117298466 ecr 117724869], length 0
    
    02:01:24.191482 IP node2.31684 > node1.webcache: Flags [.], seq 1:245, ack 1, win 20, options [nop,nop,TS val 117298466 ecr 117724869], length 244
    
    02:01:24.191492 IP node1.webcache > node2.31684: Flags [.], ack 245, win 23, options [nop,nop,TS val 117724870 ecr 117298466], length 0
    
    02:01:24.191585 IP node2.31684 > node1.webcache: Flags [P.], seq 245:258, ack 1, win 20, options [nop,nop,TS val 117298466 ecr 117724869], length 13
    
    
    02:01:24.191637 IP node1.webcache > node2.31684: Flags [P.], seq 1:70, ack 258, win 23, options [nop,nop,TS val 117724870 ecr 117298466], length 69
    02:01:24.192215 IP node2.31684 > node1.webcache: Flags [F.], seq 258, ack 1, win 20, options [nop,nop,TS val 117298466 ecr 117724870], length 0
    02:01:24.192551 IP node1.webcache > node2.31684: Flags [FP.], seq 70:303, ack 259, win 23, options [nop,nop,TS val 117724871 ecr 117298466], length 233
    02:01:24.193084 IP node2.31684 > node1.webcache: Flags [R], seq 3726408402, win 0, length 0
    02:01:24.193885 IP node2.31684 > node1.webcache: Flags [R], seq 3726408403, win 0, length 0
    ^C
    11 packets captured
    11 packets received by filter
    0 packets dropped by kernel
    node1:/root#
    
    为什么一个包大小不是256呢?
  • 相关阅读:
    《C++ 并发编程》- 第1章 你好,C++的并发世界
    30分钟,让你成为一个更好的程序员
    程序员技术练级攻略
    谈新技术学习方法-如何学习一门新技术新编程语言
    计算机科学中最重要的32个算法
    程序员学习能力提升三要素
    一位在MIT教数学的老师总结了十条经验
    学习算法之路
    十个顶级的C语言资源助你成为优秀的程序员
    Linux中LoadAverage分析
  • 原文地址:https://www.cnblogs.com/hzcya1995/p/13348543.html
Copyright © 2011-2022 走看看