当前位置:网站首页>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,链接正式结束
边栏推荐
- 针对深度学习的“失忆症”,科学家提出基于相似性加权交错学习,登上PNAS
- Write it down once Net analysis of thread burst height of an industrial control data acquisition platform
- Application practice | Shuhai supply chain construction of data center based on Apache Doris
- Employment prospects and current situation of Internet of things application technology
- idea恢复默认快捷键
- Installation and use of VMware Tools and open VM tools: solve the problems of incomplete screen and unable to transfer files of virtual machines
- [in-depth learning] review pytoch's 19 loss functions
- Understand the reading, writing and creation of files in go language
- What is the application technology of neural network and Internet of things
- go笔记(3)Go语言fmt包的用法
猜你喜欢

剑指 Offer II 80-100(持续更新)
Practice examples to understand JS strong cache negotiation cache

【深度学习】一文看尽Pytorch之十九种损失函数

Win11系统wifi总掉线怎么办?Win11系统wifi总掉线的解决方法

How to adapt your games to different sizes of mobile screen

Form组件常用校验规则-1(持续更新中~)

输入的查询SQL语句,是如何执行的?

So this is the BGP agreement

电脑怎么保存网页到桌面上使用

ICML 2022 | meta proposes a robust multi-objective Bayesian optimization method to effectively deal with input noise
随机推荐
[Beijing Xunwei] i.mx6ull development board porting Debian file system
Win11亮度被锁定怎么办?Win11亮度被锁定的解决方法
电脑怎么保存网页到桌面上使用
2022 Health Exhibition, Beijing Health Expo, China Health Exhibition, great health exhibition November 13
太方便了,钉钉上就可完成代码发布审批啦!
托管式服务网络:云原生时代的应用体系架构进化
BFC面试简述
左右最值最大差问题
凌云出海记 | 沐融科技&华为云:打造非洲金融SaaS解决方案样板
Cann operator: using iterators to efficiently realize tensor data cutting and blocking processing
What ppt writing skills does the classic "pyramid principle" teach us?
[graduation season] green ant new fermented grains wine, red mud small stove. If it snows late, can you drink a cup?
Informatics Olympiad 1336: [example 3-1] find roots and children
记一次 .NET 某工控数据采集平台 线程数 爆高分析
Dynamic memory management
2022 version of stronger jsonpath compatibility and performance test (snack3, fastjson2, jayway.jsonpath)
The problem of the maximum difference between the left and right maxima
Actual combat simulation │ JWT login authentication
长城证券开户安全吗 股票开户流程网上开户
ICML 2022 | meta proposes a robust multi-objective Bayesian optimization method to effectively deal with input noise