当前位置: 首页 > wzjs >正文

实训做网站收获有哪些竞价网站

实训做网站收获,有哪些竞价网站,漳州市建设局网站混凝土公示,你知道的2021参考了网上一些文章,最终发现wireshark的wiki写的比较好,以此为基准,说明TCP在连接和断开时的状态迁移过程。 全局的TCP连接和断开的状态变更如下图所示: TCP 3-way handshake We assume that both host (A) and server (B) sid…

参考了网上一些文章,最终发现wireshark的wiki写的比较好,以此为基准,说明TCP在连接和断开时的状态迁移过程。

全局的TCP连接和断开的状态变更如下图所示:

TCP 3-way handshake

We assume that both host (A) and server (B) side start from CLOSED status.

  1. The server process create a TCB [1] and use TCB prepares to accept the host's request. After TCB born the server change status to LISTEN.

  2. The host does the same thing, create a TCB and use this TCB to send request, set the "SYN=1" in the request header, and initates a arbitrary sequence number, seq=x. SYN paccket (which means SYN=1) can not take any data content, but it will consume a sequence number. After request sent, the host goes into SYN-SENT status.

  3. After receiving the host's request:

    1. i. If the server accept to this connection, it will send back a confirm response. In the response both SYN and ACK bits should be '1', and server side also initiates a SEQ number, seq=y. The server will send its sequence number within packet which is used to be acknowledged to the clinet's SYN packet. This packet can not take any data content either, but it consumes a sequence number. So in this packet seq=y, ack=x+1. And the server goes into SYN-RCVD status.

    2. ii. If the server rejects the connection, it just responses a RST packet to reset the connection.

  4. After the host received the server's response, it will send back also a confirm packet with ACK bit sets to '1' and seq=x+1, ack=y+1. [2]

After that, both side gose into ESTABLISHED status. This is what we called three-way handshake.

Example

Capture Example

3-way handshake.pcap

[1]. TCB---Transmission Control Block, something like PCB, it stores some significant info like, TCP connectio table, the pointer for the sending and receiving buffer, retransmission queue pointer, the current sequence number and acknowledge number and ext.

[2]. ACK packet could take data content, if not, this packet will not consume SYN number. So the sequence number of the confirm packet is seq=x+1. But in practice, at times, TCP 3-way handshake not only just initiates the connection, but also negotiate some very important parameters. MSS (maximum segment size) negotiation occurs in this steps.

TCP 4-times close

  1. Client send finish datagram to the server, indicated that client will close the transmission from client to server. This is called active close. (FIN=1, seq=u)

  2. Server acknowledged the FIN datagram. (ACK=1, seq=v, ack=u+1)

  3. Server contiues to transmit, if the server finishs the transmission it will close transmission from server to client. This is called passive close.(FIN=1, ACK=1, seq=w, ack=u+1)

  4. Client acknowledged the FIN datagram to the server.[1] (ACK=1, seq=u+1, ack=w+1)

[1]. After the ACK send, the client will not release the resource immediately, it will turn into TIME-WAIT status and wait 2-MSL (Maximum Segment Lifetime) time to release resource.

Example

Capture Example

4 times close.pcap

状态迁移图


文章转载自:

http://N6qiKkCL.bhbfm.cn
http://S6Y2HSwP.bhbfm.cn
http://2T1vtEEE.bhbfm.cn
http://Os61Sut5.bhbfm.cn
http://PBrVVqHO.bhbfm.cn
http://5YRboXDI.bhbfm.cn
http://XpTGBd7i.bhbfm.cn
http://TkefQkf2.bhbfm.cn
http://IZUx3AGb.bhbfm.cn
http://dp8vJprw.bhbfm.cn
http://zx06qpCS.bhbfm.cn
http://xM6ZzHCd.bhbfm.cn
http://OEHjNz2x.bhbfm.cn
http://6PpglE6r.bhbfm.cn
http://UKTpa6p7.bhbfm.cn
http://fAfm9MRK.bhbfm.cn
http://Pcwa0WL9.bhbfm.cn
http://fqmCExzH.bhbfm.cn
http://Xv3XIbrJ.bhbfm.cn
http://i9V4Hs6c.bhbfm.cn
http://UlEf2dqD.bhbfm.cn
http://QLcIdbdo.bhbfm.cn
http://oS7ZuXdE.bhbfm.cn
http://idanstR3.bhbfm.cn
http://Ji4cjsT3.bhbfm.cn
http://un5bjq65.bhbfm.cn
http://K7e7dPhz.bhbfm.cn
http://RQqGQqZc.bhbfm.cn
http://CtAiVK6e.bhbfm.cn
http://r9CZVOzd.bhbfm.cn
http://www.dtcms.com/wzjs/749308.html

相关文章:

  • 微信官方网站公众平台做美食网站的特点
  • 做网站推广哪些易加网站建设方案
  • 17网一起做网站英文外贸网站建设网站设计方案
  • 自建网站备案通过后怎么做免费货源网站免费版权
  • qq怎么做自己的网站网站建设与管理的心得
  • 免费搭建网站哪个好五金网站建设
  • wordpress最快仿站北京网站建设seo公司哪家好
  • 网站建设专业团队图片怎么在携程旅行做网站
  • 国内网站搭建这么用自己的电脑做网站服务器
  • 企业网站的类型包括买网站服务器要多少钱一年
  • 江西网站备案流程山东企业网站建设费用
  • 用图片设置网站首页wordpress评论模板怎么改
  • 进入城乡建设网站怎么竣工备案经典软文范例大全
  • 高明网站建设报价营销活动策划
  • 亚马逊中国网站建设目标邢台网站建设免费做网站排名
  • 效果好的手机网站建设页面设计规范
  • 网站点击率原因wordpress google插件
  • 网站备案多久可以注销网络公司哪个最好
  • 电影网站怎么做要多少钱南京网站建设包括哪些
  • 广东企业网站seo哪家好福建巢网站建设
  • 开封做网站的公司网页ui设计模板代码
  • 高端品牌网站建设专人一对一服务重庆优化网站排名
  • 网站建设合同 印花税软件著作权申请
  • 网站尾部wordpress 多语言 主题
  • 网站建设实训设计思想wordpress 标题颜色
  • 如何建立优秀企业网站如何能查到百度搜索排名
  • 龙岗网站的建设常德网站建设技术
  • 天津网站建设培训班科技公司手机网站
  • 哪个着陆页网站网站建设前期准备工作总结
  • 网站建设的优点网站建设包括哪些方面