当前位置:网站首页>TCP三次握手为什么不是两次或四次
TCP三次握手为什么不是两次或四次
2022-07-01 00:37:00 【江南无故人】
三次是验证客户端与服务器都可以收发数据的最小次数。如果没有第三次,服务器不能确认自己是否可以正常发送数据,只有收到第三次握手客户端发来的ACK报文才能确认。
三次握手客户端第三次握手发送ACK报文后,客户端就认为连接已经建立,会在客户端维护连接,操作系统管理这些连接需要时间和空间。如果是四次握手,先认为连接建立成功的就是服务器,服务器会消耗空间和时间维护这些连接,和服务器握手的客户端可能很多,所有维护这些连接的成本都嫁接到服务器上是不合适的。而三次握手维护这种连接的成本是客户端承担的,更加合理。
边栏推荐
- [untitled]
- Double linked list: initialize insert delete traversal
- Solving the weird problem that the query conditions affect the value of query fields in MySQL query
- 双链表:初始化 插入 删除 遍历
- Problem solving: how to manage thread_local pointer variables
- Longest valid bracket
- 连表查询 select 生成
- [original] PLSQL index sorting optimization
- IBL预计算的疑问终于解开了
- Pytorch auto derivation
猜你喜欢
剑指 Offer 18. 删除链表的节点
Set different background colors for the border and text of the button
[untitled]
C#生成putty格式的ppk文件(支持passphrase)
CTF tool (1) -- archpr -- including installation / use process
Solving the weird problem that the query conditions affect the value of query fields in MySQL query
C # Generate PPK files in Putty format (passthrough support)
2022-2028 global electric yacht industry research and trend analysis report
Member management applet actual development 07 page Jump
PHP online confusion encryption tutorial sharing + basically no solution
随机推荐
20220215-ctf-misc-buuctf-einstein-binwalk analyze picture-dd command separate zip file -- look for password in picture attribute
What should I do without 50W bride price
Host FL Studio fruit music production daw20.9
ArrayList分析1-循环、扩容、版本
Packing and unpacking of C #
High quality pump SolidWorks model material recommended, not to be missed
2022-2028 global ethylene oxide scrubber industry research and trend analysis report
CSDN common complex formula template record
2022-2028 global encrypted external hard disk industry research and trend analysis report
Some views on libco
Implementation of date class
第53章 从业务逻辑实现角度整体性理解程序
Vulnerability discovery - App application vulnerability probe type utilization and repair
Pytorch auto derivation
CSDN常用复杂公式模板记录
Left join displays the specified value when the left join matching data is null
20220215 CTF misc buuctf the world in the mirror the use of stegsolve tool data extract
剑指 Offer 19. 正则表达式匹配
ArrayList分析1-循环、扩容、版本
Luogu p1144 shortest circuit count