当前位置:网站首页>为什么TCP握手刚刚好是3次呢?
为什么TCP握手刚刚好是3次呢?
2022-06-25 04:01:00 【大熊爱干活】
为什么TCP握手刚刚好是3次呢?
因为3次握手是可以让双方都知道对方的拥有收发能力的最少交互次数

如上图所示:
第1次握手后:Client的报文被Server接收
Server仅可确定Client发送的数据可以到达Server端
Serevr可以正确接收对端的数据
第2次握手之后:
Client收到了对端的数据,所以在Client的视角可以知道:
Client接收能力正常
Client发送能力正常(因为第一次握手正常才会收到确认)
Server接收能力正常(因为只有接收正常才会收到第二次握手的确认)
Server发送能力正常
第3次握手之后:
Server收到了Client的有一次确认,所以从Server的视角:
Client的接收能力和发送能力正常
Server的接收和发送能力正常
因为双方都知道了对方的收发能力都ok了,所以就可以愉快的建立连接啦
边栏推荐
- 2021.8.29 notes: register, bit operation, pointer, structure
- GBASE 8s存儲過程語法結構
- 微信小程序父子组件之间传值
- Comparison of towe/ JIRA / tapd / Zen collaboration platforms
- CTF_ Web: basic 12 questions WP of attack and defense world novice zone
- 什么是持久化?redis 持久化中的RDB和AOF是什么?
- 小白学习MySQL - 统计的'投机取巧'
- Anaconda installation +tensorflow installation +keras installation +numpy installation (including image and version information compatibility issues)
- Laravel document sorting 11. System architecture
- Failed to install redis interface
猜你喜欢
随机推荐
CTF_ Web: basic 12 questions WP of attack and defense world novice zone
Unit test coverage
GBASE 8s的级联删除功能
Gbase 8s stored procedure flow control
GBASE 8s的并行操作问题场景描述
PHP extracts and analyzes table contents, and collects bidding information
js的call()和apply()
UCLA | 用于黑盒优化的生成式预训练
Thorough understanding of database transactions
Use of deferred environment variable in gbase 8s
OOP栈类模板(模板+DS)
GBASE 8s的触发器
CTF_ Web: file contains pseudo protocol with PHP
微信小程序父子组件之间传值
JS arrow function
简单的恶意样本行文分析-入门篇
什么是数据持久化?
Gbase 8s index R tree
什么是持久化?redis 持久化中的RDB和AOF是什么?
Basic introduction of gbase 8s blocking technology









