当前位置:网站首页>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,链接正式结束
边栏推荐
- Why is the maximum speed the speed of light
- Thinking on demand development
- Development and construction of DFI ecological NFT mobile mining system
- Decryption function calculates "task state and lifecycle management" of asynchronous task capability
- Data set division
- C # better operation mongodb database
- 【历史上的今天】7 月 4 日:第一本电子书问世;磁条卡的发明者出生;掌上电脑先驱诞生
- Flet教程之 04 FilledTonalButton基础入门(教程含源码)
- What does the neural network Internet of things mean? Popular explanation
- [today in history] July 4: the first e-book came out; The inventor of magnetic stripe card was born; Palm computer pioneer was born
猜你喜欢

精选综述 | 用于白内障分级/分类的机器学习技术

YOLOv5s-ShuffleNetV2

复杂因子计算优化案例:深度不平衡、买卖压力指标、波动率计算

Pytoch learning (4)

Cann operator: using iterators to efficiently realize tensor data cutting and blocking processing

Flet教程之 06 TextButton基础入门(教程含源码)

如何让你的小游戏适配不同尺寸的手机屏幕

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

Free soldier

【ISMB2022教程】图表示学习的精准医疗,哈佛大学Marinka Zitnik主讲,附87页ppt
随机推荐
ICML 2022 | Meta提出鲁棒的多目标贝叶斯优化方法,有效应对输入噪声
Detailed explanation of Audi EDI invoice message
Hash quiz game system development how to develop hash quiz game system development (multiple cases)
In the first month of its launch, the tourist praise rate of this campsite was as high as 99.9%! How did he do it?
What does the neural network Internet of things mean? Popular explanation
Stack: how to realize the judgment of valid brackets?
How is the entered query SQL statement executed?
Installation and use of VMware Tools and open VM tools: solve the problems of incomplete screen and unable to transfer files of virtual machines
LeetCode 871. 最低加油次数
六石编程学:关于代码,有六个得意
太方便了,钉钉上就可完成代码发布审批啦!
Jiuqi ny8b062d MCU specification /datasheet
Flet教程之 04 FilledTonalButton基础入门(教程含源码)
Employment prospects and current situation of Internet of things application technology
Anhui Zhong'an online culture and tourism channel launched a series of financial media products of "follow the small editor to visit Anhui"
长城证券开户安全吗 股票开户流程网上开户
Practical examples of node strong cache and negotiation cache
Regular replacement [JS, regular expression]
ICML 2022 | meta proposes a robust multi-objective Bayesian optimization method to effectively deal with input noise
什么叫内卷?