当前位置:网站首页>tcp为啥是三次握手和四次挥手
tcp为啥是三次握手和四次挥手
2022-07-04 19:03:00 【大鸡腿最好吃】
三次握手,主要防止已经失效的连接请求报文突然又传送到了服务器,从而产生错误;
客户端发送ack=1,seq为x,服务器收到后发送ack=x+1,seq为y,客户端收到后发送ack为y+
1正式建立其链接
四次挥手,谁先发起都行,是双向的
客户端没有想要发送的请求后想终止链接,就发送fin=1,seq为u,服务器收到后发送ack=u=1表示自己收到了;
服务器没有想要发送的数据给客户端后,就发送fin=1,que=v,客户端收到后发送ack=v+1,链接正式结束
边栏推荐
- 软件客户端数字签名一定要申请代码签名证书吗?
- 强化学习-学习笔记2 | 价值学习
- Key rendering paths for performance optimization
- AP8022开关电源小家电ACDC芯片离线式开关电源IC
- Dynamic memory management
- Flet教程之 06 TextButton基础入门(教程含源码)
- 栈:如何实现有效括号的判断?
- c# . Net MVC uses Baidu ueditor rich text box to upload files (pictures, videos, etc.)
- 易周金融 | Q1保险行业活跃人数8688.67万人 19家支付机构牌照被注销
- [today in history] July 4: the first e-book came out; The inventor of magnetic stripe card was born; Palm computer pioneer was born
猜你喜欢
Dynamic memory management
Aiming at the "amnesia" of deep learning, scientists proposed that based on similarity weighted interleaved learning, they can board PNAS
紫光展锐完成全球首个 5G R17 IoT NTN 卫星物联网上星实测
Win11亮度被锁定怎么办?Win11亮度被锁定的解决方法
NLP、视觉、芯片...AI重点方向发展几何?青源会展望报告发布[附下载]
node强缓存和协商缓存实战示例
输入的查询SQL语句,是如何执行的?
强化学习-学习笔记2 | 价值学习
复杂因子计算优化案例:深度不平衡、买卖压力指标、波动率计算
ICML 2022 | meta proposes a robust multi-objective Bayesian optimization method to effectively deal with input noise
随机推荐
Informatics Olympiad 1336: [example 3-1] find roots and children
一文搞懂Go语言中文件的读写与创建
九齐NY8B062D MCU规格书/datasheet
[in-depth learning] review pytoch's 19 loss functions
针对深度学习的“失忆症”,科学家提出基于相似性加权交错学习,登上PNAS
Write it down once Net analysis of thread burst height of an industrial control data acquisition platform
浏览器渲染页面过程
repeat_ P1002 [NOIP2002 popularization group] cross the river pawn_ dp
Win11亮度被锁定怎么办?Win11亮度被锁定的解决方法
Every time I look at the interface documents of my colleagues, I get confused and have a lot of problems...
Flet教程之 05 OutlinedButton基础入门(教程含源码)
太方便了,钉钉上就可完成代码发布审批啦!
Talking about cookies of client storage technology
How to adapt your games to different sizes of mobile screen
哈希(Hash)竞猜游戏系统开发功能分析及源码
Six stones programming: about code, there are six triumphs
实战模拟│JWT 登录认证
jekins初始化密码没有或找不到
栈:如何实现有效括号的判断?
c# . Net MVC uses Baidu ueditor rich text box to upload files (pictures, videos, etc.)