当前位置:网站首页>Transport layer selective ACK
Transport layer selective ACK
2022-06-29 14:21:00 【Foxconn quality inspector zhangquandan】
Confirmation of improvement — Choose to confirm (SACK)

It can be seen from above that you have received 1 2 3 4 Give it a confirmation ,ack=401 You want it to send the 5 A the ,1,2,3 There is no need to send a confirmation , The statement has been received , Just send the last one .
Then I received 5,6,7 lost ,8 I also received , Return to confirm and tell it to send 601 The bytes , If selective confirmation is not supported , It will be 7,8,9,10 Send it all over again , Also is to 601 Send all the back ones .
And with selective confirmation , When returning the confirmation , Will tell the boundary , That is, head and tail , Which paragraphs received , that 8 There is no need to resend this paragraph .
continuity ARQ Both protocol and sliding window protocol adopt cumulative confirmation

The receiver received it 1-49640 These bytes , And then from 51101 Byte to 51453 These bytes are also received , The rest of the white part is the part that has not been received .
You can see the confirmation number 49641, Explain that I have received all the above ,49641 It's time to send it to me after the start , But I also received the following paragraph , At this time, I am confirming that , stay TCP There is an option in the first part , There are... In the options 12 Bytes , The left and right boundaries are specified in the options , The left boundary is 51101, Right border 51454, That is, the number of bytes received plus 1. In this way, the sender will know which data has been lost , Then resend the lost bytes .
A border will occupy 4 In bytes , Length takes up 1 Bytes , Selectively confirm occupancy 1 Bytes .TCP The head is fixed 20 The length of bytes , The longest is 60 Bytes , Then the options section can occupy 40 Bytes , Remove length and selectively confirm occupied 2 Bytes , So there is still 38 Bytes , A boundary occupies 4 Bytes .
Selective confirmation means at most 8 Borders
adopt SACK Options can make TCP The sender only sends the lost data without sending all subsequent data , Improve the data transmission efficiency .

8 The first boundary is 32 Bytes ,4 Segments , No more .
There is a function in the virtual machine , Specified packet loss rate .

The packet loss of the transmission file is as follows :

边栏推荐
猜你喜欢

微信小程序:装B神器P图修改微信流量主小程序源码下载趣味恶搞图制作免服务器域名

Stable currency risk profile: are usdt and usdc safe?

传输层 用户数据报协议(UDP)

leetcode:226. 翻转二叉树

Summary of binary tree exercises

Goby full port scan

goby如何导出扫描结果

Applet Wechat: un nouveau réseau exclusif de microgroupes de développement de Cloud

uniApp问题清单与经验

Are you still reading the log by command? Use kibana, one picture is better than ten thousand lines of log
随机推荐
直觉与实现:Batch Normalization
Tiktok's global short video dominance may be reversed by YouTube
强大、优秀的文件管理软件评测:图片管理、书籍管理、文献管理
Redis的缓存雪崩、缓存击穿、缓存穿透与缓存预热、缓存降级
delphi7中 url的编码
关于MongoDB报错:connecting to: mongodb://127.0.0.1:27017/?compressors=disabled&gssapiServiceName=mongodb
Can Ruida futures open an account? Is it safe and reliable?
人不成熟的特征
Wechat applet: new and exclusive cloud development wechat group contacts
《canvas》之第11章 canvas状态
《canvas》之第12章 其他应用
Navicat连接MySQL8.0的正确方法(亲测有效)
Redis的持久化机制
《canvas》之第14章 物理动画
【置顶】博客使用须知,公告板,留言板,关于博主
Summary of binary tree exercises
[use of veux developer tools - use of getters]
Are you still reading the log by command? Use kibana, one picture is better than ten thousand lines of log
win11怎么看cpu几核几线程? win11查看cpu是几核几线程的教程
【黑马早报】中公教育市值蒸发逾2000亿;新东方直播粉丝破2000万;HM关闭中国首店;万科郁亮称房地产已触底;微信上线“大爆炸”功能...