TCP/IP
来源:互联网 发布:法式风情 知乎 编辑:程序博客网 时间:2024/05/16 15:05
<!-- /* Font Definitions */ @font-face{font-family:Wingdings;panose-1:5 0 0 0 0 0 0 0 0 0;mso-font-charset:2;mso-generic-font-family:auto;mso-font-pitch:variable;mso-font-signature:0 268435456 0 0 -2147483648 0;}@font-face{font-family:宋体;panose-1:2 1 6 0 3 1 1 1 1 1;mso-font-alt:SimSun;mso-font-charset:134;mso-generic-font-family:auto;mso-font-pitch:variable;mso-font-signature:3 135135232 16 0 262145 0;}@font-face{font-family:"Cambria Math";panose-1:2 4 5 3 5 4 6 3 2 4;mso-font-charset:1;mso-generic-font-family:roman;mso-font-format:other;mso-font-pitch:variable;mso-font-signature:0 0 0 0 0 0;}@font-face{font-family:Calibri;panose-1:2 15 5 2 2 2 4 3 2 4;mso-font-charset:0;mso-generic-font-family:swiss;mso-font-pitch:variable;mso-font-signature:-1610611985 1073750139 0 0 159 0;}@font-face{font-family:"/@宋体";panose-1:2 1 6 0 3 1 1 1 1 1;mso-font-charset:134;mso-generic-font-family:auto;mso-font-pitch:variable;mso-font-signature:3 135135232 16 0 262145 0;} /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal{mso-style-unhide:no;mso-style-qformat:yes;mso-style-parent:"";margin:0cm;margin-bottom:.0001pt;text-align:justify;text-justify:inter-ideograph;mso-pagination:none;font-size:10.5pt;mso-bidi-font-size:11.0pt;font-family:"Calibri","sans-serif";mso-ascii-font-family:Calibri;mso-ascii-theme-font:minor-latin;mso-fareast-font-family:宋体;mso-fareast-theme-font:minor-fareast;mso-hansi-font-family:Calibri;mso-hansi-theme-font:minor-latin;mso-bidi-font-family:"Times New Roman";mso-bidi-theme-font:minor-bidi;mso-font-kerning:1.0pt;}h1{mso-style-priority:9;mso-style-unhide:no;mso-style-qformat:yes;mso-style-link:"Heading 1 Char";mso-style-next:Normal;margin-top:17.0pt;margin-right:0cm;margin-bottom:16.5pt;margin-left:0cm;text-align:justify;text-justify:inter-ideograph;line-height:240%;mso-pagination:lines-together;page-break-after:avoid;mso-outline-level:1;font-size:22.0pt;font-family:"Calibri","sans-serif";mso-ascii-font-family:Calibri;mso-ascii-theme-font:minor-latin;mso-hansi-font-family:Calibri;mso-hansi-theme-font:minor-latin;mso-font-kerning:22.0pt;}p.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph{mso-style-priority:34;mso-style-unhide:no;mso-style-qformat:yes;margin:0cm;margin-bottom:.0001pt;text-align:justify;text-justify:inter-ideograph;text-indent:21.0pt;mso-char-indent-count:2.0;mso-pagination:none;font-size:10.5pt;mso-bidi-font-size:11.0pt;font-family:"Calibri","sans-serif";mso-ascii-font-family:Calibri;mso-ascii-theme-font:minor-latin;mso-fareast-font-family:宋体;mso-fareast-theme-font:minor-fareast;mso-hansi-font-family:Calibri;mso-hansi-theme-font:minor-latin;mso-bidi-font-family:"Times New Roman";mso-bidi-theme-font:minor-bidi;mso-font-kerning:1.0pt;}span.Heading1Char{mso-style-name:"Heading 1 Char";mso-style-priority:9;mso-style-unhide:no;mso-style-locked:yes;mso-style-link:"Heading 1";mso-ansi-font-size:22.0pt;mso-bidi-font-size:22.0pt;mso-font-kerning:22.0pt;font-weight:bold;}.MsoChpDefault{mso-style-type:export-only;mso-default-props:yes;mso-bidi-font-family:"Times New Roman";mso-bidi-theme-font:minor-bidi;} /* Page Definitions */ @page{mso-page-border-surround-header:no;mso-page-border-surround-footer:no;}@page WordSection1{size:595.3pt 841.9pt;margin:72.0pt 90.0pt 72.0pt 90.0pt;mso-header-margin:42.55pt;mso-footer-margin:49.6pt;mso-paper-source:0;layout-grid:15.6pt;}div.WordSection1{page:WordSection1;} /* List Definitions */ @list l0{mso-list-id:672221144;mso-list-type:hybrid;mso-list-template-ids:-271006764 67698689 67698691 67698693 67698689 67698691 67698693 67698689 67698691 67698693;}@list l0:level1{mso-level-number-format:bullet;mso-level-text:;mso-level-tab-stop:none;mso-level-number-position:left;margin-left:21.0pt;text-indent:-21.0pt;font-family:Wingdings;}@list l1{mso-list-id:1655984141;mso-list-type:hybrid;mso-list-template-ids:-1594074066 67698689 67698691 67698693 67698689 67698691 67698693 67698689 67698691 67698693;}@list l1:level1{mso-level-number-format:bullet;mso-level-text:;mso-level-tab-stop:none;mso-level-number-position:left;margin-left:21.0pt;text-indent:-21.0pt;font-family:Wingdings;}ol{margin-bottom:0cm;}ul{margin-bottom:0cm;}-->
第七章 ping
l 第1个往返时间值要比其他的大。这是由于目的端的硬件地址不在 A R P高速缓存中
l 在windows xp下,使用Ping程序是,如果设置ping的数据包长度大于1473,就会产生IP分包。因为以太网的MTU是1500,IP头长度为20,ICMP长度为8,所以不分包的最大数据包长度为1500-20-8=1472
l IP分片后,不同分片中的标识字段是一样的,可以用于IP包的再次组装。
第十一章 UDP
l 如果打开IP的允许路径MTU发现设置,可能导致设置了不分片标志的大数据包被丢弃
l
为什么第二个分片大小是8?
第十七章 TCP transmissioncontrol protocol
l T C P首部中的确认序号表示发方已成功收到字节,但还不包含确认序号所指的字节。当前还无法对数据流中选定的部分进行确认。例如,如果1~1 0 2 4字节已经成功收到,下一报文段中包含序号从 2 0 4 9~3 0 7 2的字节,收端并不能确认这个新的报文段。它所能做的就是发回一个确认序号为 1 0 2 5的A C K。它也无法对一个报文段进行否认。例如,如果收到包含 1 0 2 5~2 0 4 8字节的报文段,但它的检验和错, T C P接收端所能做的就是发回一个确认序号为 1 0 2 5的A C K,确认序号的值是所接受到的且确认的数据的大小值+1,可抓包验证
l 首部长度给出首部中32bit字的数目。需要这个值是因为任选字段的长度是可变的。这个字段占4 bit,因此T C P最多有6 0字节的首部。然而,没有任选字段,正常的长度是 2 0字节。
l 最常见的可选字段是最长报文大小,又称为 MSS (Maximum Segment Size)。每个连接方通常都在通信的第一个报文段(为建立连接而设置 S Y N标志的那个段)中指明这个选项。它指明本端所能接收的最大长度的报文段
l 1) 请求端(通常称为客户)发送一个 S Y N段指明客户打算连接的服务器的端口,以及初始序号(I S N,在这个例子中为1 4 1 5 5 3 1 5 2 1)。这个S Y N段为报文段1。2) 服务器发回包含服务器的初始序号的S Y N报文段(报文段2)作为应答。同时,将确认序号设置为客户的I S N加1以对客户的S Y N报文段进行确认。一个S Y N将占用一个序号。3) 客户必须将确认序号设置为服务器的 I S N加1以对服务器的S Y N报文段进行确认(报文段3)。这三个报文段完成连接的建立。这个过程也称为三次握手( three-way handshake) 。
- TCP/IP
- TCP/IP
- TCP/IP
- TCP/IP
- TCP/IP
- TCP/IP
- TCP/IP
- TCP/IP
- tcp/ip
- TCP/IP
- tcp/ip
- TCP/IP
- tcp/ip
- TCP/IP
- TCP/IP
- TCP/IP
- tcp ip
- tcp/ip
- Web系统的三层结构
- 基于ARM平台的RFID中间件系统设计
- SharedObject关于存取图片记录
- JSP 页面转向 页面转发
- 芯片封装技术简介
- TCP/IP
- Flex中DataGrid绑定(嵌入)ComboBox
- struts1.x bean:write 标签的使用
- IIS启动失败解决办法和思路
- 装了Windows Live Writer
- Oracle DB解锁和 rerun FA depreciation
- 如何让若干个div处于同一行
- char * 为空,为零的区别
- 对map的遍历