当前位置:网站首页>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,链接正式结束
边栏推荐
- Integritee通过XCM集成至Moonriver,为其生态系统带来企业级隐私解决方案
- Why is the maximum speed the speed of light
- Detailed explanation of Audi EDI invoice message
- c# . Net MVC uses Baidu ueditor rich text box to upload files (pictures, videos, etc.)
- 长城证券开户安全吗 股票开户流程网上开户
- What ppt writing skills does the classic "pyramid principle" teach us?
- Flet教程之 06 TextButton基础入门(教程含源码)
- 托管式服务网络:云原生时代的应用体系架构进化
- YOLOv5s-ShuffleNetV2
- 易周金融 | Q1保险行业活跃人数8688.67万人 19家支付机构牌照被注销
猜你喜欢
What does the neural network Internet of things mean? Popular explanation
[in-depth learning] review pytoch's 19 loss functions
C # better operation mongodb database
强化学习-学习笔记2 | 价值学习
Employment prospects and current situation of Internet of things application technology
[ismb2022 tutorial] the picture shows the precision medicine of learning. Marinka zitnik, Harvard University, keynote speaker, with 87 ppt
Win11U盘拒绝访问怎么办?Win11U盘拒绝访问的有效解决方法
What are the consequences of closing the read / write channel?
Actual combat simulation │ JWT login authentication
【历史上的今天】7 月 4 日:第一本电子书问世;磁条卡的发明者出生;掌上电脑先驱诞生
随机推荐
Lingyun going to sea | 10 jump &huawei cloud: jointly help Africa's inclusive financial services
Pointnet / pointnet++ point cloud data set processing and training
Win11系统wifi总掉线怎么办?Win11系统wifi总掉线的解决方法
1500万员工轻松管理,云原生数据库GaussDB让HR办公更高效
Integretee integrates into Moonriver through xcm, bringing enterprise class privacy solutions to its ecosystem
go语言笔记(4)go常用管理命令
Length of the longest integrable subarray
Employment prospects and current situation of Internet of things application technology
Flet教程之 06 TextButton基础入门(教程含源码)
Oracle database, numbers Force 2 decimal places to display-Alibaba Cloud
GVM使用
一文搞懂Go语言中文件的读写与创建
Key rendering paths for performance optimization
原来这才是 BGP 协议
易周金融 | Q1保险行业活跃人数8688.67万人 19家支付机构牌照被注销
What does the neural network Internet of things mean? Popular explanation
Understand the reading, writing and creation of files in go language
go语言笔记(2)go一些简单运用
九齐NY8B062D MCU规格书/datasheet
PHP pseudo original API docking method