当前位置:网站首页>TCP协议三次握手过程
TCP协议三次握手过程
2022-07-04 21:16:00 【天渺工作室】
常见前端面试题 TCP协议三次握手过程

1.第1次握手 建立连接
客户端向服务器发送的报文SYN包信息中SYN码为1
2.第2次握手 服务器回应客户端,用于接受并连接请求
服务器返给客户端的的报文SYN码和ACK码都为1,也称呼为syn-ack报文信息。
3.第3次握手 客户端最终发给服务器的,用来确认服务器回复的。
客户端最终发给服务器的报文信息ACK码为1,我们称呼为ack包。
4.第4次 也就是俗称的 最终断开连接。
总结
1次握手:客户端发带有syn码的标志连接数据包服务器。
2次握手:服务器返回syn+ack标志的连接请求+回复数据给客户端。
3次握手:客户端最终发ack标志的数据给服务器。建立连接,可以传输数据了。
边栏推荐
- redis RDB AOF
- Delphi soap WebService server-side multiple soapdatamodules implement the same interface method, interface inheritance
- HDU - 2859 Phalanx(DP)
- Redis pipeline
- Learning breakout 3 - about energy
- Numpy vstack and column_ stack
- Analyzing the maker space contained in steam Education
- 历史最全混合专家(MOE)模型相关精选论文、系统、应用整理分享
- How much is the minimum stock account opening commission? Is it safe to open an account online
- torch. Tensor and torch The difference between tensor
猜你喜欢

Redis has three methods for checking big keys, which are necessary for optimization

How is the entered query SQL statement executed?

历史最全混合专家(MOE)模型相关精选论文、系统、应用整理分享
![[weekly translation go] how to code in go series articles are online!!](/img/bf/77253c87bfa1512f4b8d3d8f7ebe80.png)
[weekly translation go] how to code in go series articles are online!!

Flutter TextField示例

Methods of improving machine vision system
![Compréhension approfondie du symbole [langue C]](/img/4b/26cf10baa29eeff08101dcbbb673a2.png)
Compréhension approfondie du symbole [langue C]

Lambdaquerywrapper usage

奋斗正当时,城链科技战略峰会广州站圆满召开

Analyzing the maker space contained in steam Education
随机推荐
每日一题-LeetCode1200-最小绝对差-数组-排序
Operation of adding material schedule in SolidWorks drawing
Caduceus从未停止创新,去中心化边缘渲染技术让元宇宙不再遥远
Difference between ApplicationContext and beanfactory (MS)
Enlightenment of maker thinking in Higher Education
开户哪家券商比较好?网上开户安全吗
OMS系统实战的三两事
Analyzing the maker space contained in steam Education
Open3d surface normal vector calculation
Case sharing | integrated construction of data operation and maintenance in the financial industry
Analysis of maker education technology in the Internet Era
Flink1.13 SQL basic syntax (I) DDL, DML
巅峰不止,继续奋斗!城链科技数字峰会于重庆隆重举行
Redis has three methods for checking big keys, which are necessary for optimization
numpy vstack 和 column_stack
Stealing others' vulnerability reports and selling them into sidelines, and the vulnerability reward platform gives rise to "insiders"
Compréhension approfondie du symbole [langue C]
redis RDB AOF
Acwing 2022 daily question
哈希表(Hash Tabel)