当前位置:网站首页>Detailed explanation of TCP's three handshakes
Detailed explanation of TCP's three handshakes
2022-04-22 00:06:00 【My name is beaver bandit】
TCP Three handshakes of

First, let's understand the meaning of the field
SYN=1 The value of indicates that you want to connect
ACK=1 Acknowledgement field ack It works
seq: The sequence number of the packet sent
ack=seq+1: Indicates that the sent data is received , And he wants to send the next packet
The following is my practical example ( The bag grabbing tool is Kelai , The server is QQ):
After opening the package capturing software, start QQ

You can see local and QQ Three handshakes established between
First step ( I sent it to QQ The data of )
SYN=1( I hope to work with you QQ Establishing a connection )
seq=2605745043 ( I am right. QQ say : The sequence of packets sent by me is 2605745043 )
ACK=0( No confirmation field )
ack=0 ( Because it is the initiator of establishing the connection, it is 0)

The second step (QQ The data sent to me )
SYN=1(QQ Hope to establish a connection with me )
seq=1104303432(QQ Said to me, :QQ The sequence of packets sent is 1104303432)
ACK=1( There is a confirmation field, so the value is 1)
ack=seq( My client )+1=2605745044(QQ say : I received the packet sequence sent by your client , And I want you to send the next packet sequence )

The third step ( I sent it to QQ The data of )
seq=2605745044( In Article 2 QQ I hope the order of the packets I send is 2605745044, So I'll send it this time )
ACK=1( There is a confirmation field, so the value is 1)
ack=seq(QQ Of )+1=1104303433( I received your packet in the order of 1104303432 Your packet , And I hope to receive the next packet )

Step 4 start communication

版权声明
本文为[My name is beaver bandit]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/04/202204212357570471.html
边栏推荐
- Storage group physical quantity entity path
- Redis starts the service and connects the client
- LED发光二极管的主要参数与结构介绍
- [fundamentals of interface testing] Part III differences between traditional style interfaces and restful style interfaces
- XSS-Game Level 4
- Iotdb permission management
- The most basic JDBC template and database garbled code processing
- [Protocole réseau] DHCP et PXE
- 插入创建数组
- 犯二的程度
猜你喜欢

可替换MPS MP2451的高压DCDC芯片FS2451助力智能电表设计40V0.5A降压IC

【读书笔记】《经验会计与财务研究方法-原理、应用及SAS实现》 鲁桂华

R language generalized linear model GLM: linear least squares, logarithmic transformation, Poisson, binomial logistic regression analysis, ice cream sales time series data and simulation

运动耳机选择哪种好、什么款式的耳机戴着舒服

OpenSSL简单的使用

Detailed MOS tube knowledge - MOS tube high-end drive and low-end drive analysis, principle and difference

msf --攻击MySQL 和简单实用
![[super detailed explanation plus source code and test results] a series of operation collection of sequence table](/img/a5/dba8aa35554831558c458f46b18d60.png)
[super detailed explanation plus source code and test results] a series of operation collection of sequence table

架构实战营-模块三-作业

Blender mmd 导出FBX模型 和 烘焙动画
随机推荐
Iotdb permission management
犯二的程度
继电器为什么要并联二极管
JDBC concept steps of creating JDBC project in idea
2022年江西省安全员A证考试题及答案
Fansea 4W single coil transmitting wireless charging 5W module
14 自定义xml
Audio and video codec
细说MOS管知识-MOS管高端驱动与低端驱动解析和原理及区别
比较方便安全的期货开户怎么办理好?
2022北京眼睛健康展,北京眼镜展,北京近视矫正展,眼视光展
University four years, self-study programming commonly used 10 learning websites
Redis starts the service and connects the client
Operation of simulated examination platform of test question bank for electrical installation and maintenance of hoisting machinery in 2022
JS notes data type judgment
CoDeSys method of reading CSV file (non Excel)
OpenSSL简单的使用
《数字电子技术基础》3.3 CMOS门电路(下)
7.4 thread exit
CODESYS讀取csv文件的方法(非excel)