当前位置:网站首页>为什么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了,所以就可以愉快的建立连接啦
边栏推荐
- Data import and export for gbase 8s
- Nodejs connects to MySQL through heidisql, and ER appears_ BAD_ DB_ ERROR: Unknown database 'my_ db_ books'
- 简单的恶意样本行文分析-入门篇
- Finereport displays and hides column data according to conditions
- A detailed summary of TCP connection triple handshake
- 什么是持久化?redis 持久化中的RDB和AOF是什么?
- GBase 8s 锁的分类
- 第二十五周记录
- Leetcode points to the leetcode road of offering II 091 house painting [dynamic planning] heroding
- GBASE 8S内存管理
猜你喜欢

2.0SpingMVC使用RESTful

CTF_ Web: deserialization of learning notes (II) CTF classic test questions from shallow to deep

CTF_ Web: Learn flask template injection (SSTI) from 0

Coinlist queuing tutorial to improve the winning rate

单元测试覆盖率

NFT insider 63: the sandbox reached a cooperation with Time magazine, and YGG established Spain's subdao

cnpm : 无法加载文件 C:\Users\Administrator\AppData\Roaming\npm\cnpm.ps1,因为在此系统上禁止运行脚本。

我的IC之旅——资深芯片设计验证工程师成长——“胡”说IC工程师完美进阶

GBASE 8s 索引R树

Unit test coverage
随机推荐
JS arrow function
php封装curl发送get、post请求方法,并使用
冰冰学习笔记:循环队列的实现
Laravel document sorting 6. Response
mongodb集群
i. Max development board learning record
Finereport (sail soft) handling the problem that the histogram data label is blocked
Leetcode points to the leetcode road of offering II 091 house painting [dynamic planning] heroding
Gbase 8s stored procedure syntax structure
GBASE 8s的触发器
《牛客刷verilog》Part I Verilog快速入门
OOP 向量加减(友元+拷贝构造)
js的sort()函数
2021.6.14 notes
Gbase 8s parallel operation problem scenario description
Intel 13th generation core showed its true colors for the first time: 68mb cache improved significantly
CTF_ Web:8-bit controllable character getshell
CTF_ Web: advanced problem WP (5-8) of attack and defense world expert zone
EasyRecovery15非常好用的电脑数据恢复软件
GBASE 8s 总体架构