This commit is contained in:
2025-09-16 17:10:51 +08:00
parent 37aad2f7bc
commit 35ce38973e
34 changed files with 94 additions and 0 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 10 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 28 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 54 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 60 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 20 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 52 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 19 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 30 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 34 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 41 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 34 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 33 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 35 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 35 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 20 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 24 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 24 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 22 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 19 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 20 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 44 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 38 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 26 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 24 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 24 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 24 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 21 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 26 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 24 KiB

View File

@@ -0,0 +1,12 @@
---
title: 说说TCP四次挥手
published: 2025-09-16
description: ''
image: ''
tags: [计算机网络,TCP四次挥手]
category: '计算机网络'
draft: false
lang: ''
---

View File

@@ -0,0 +1,49 @@
---
title: 说说TCP拥塞控制步骤
published: 2025-09-16
description: ''
image: ''
tags: [TCP拥塞控制,TCP,计算机网络]
category: '计算机网络'
draft: false
lang: ''
---
![](https://blog.meowrain.cn/api/i/2025/09/16/rcsxk4-1.webp)
# 慢启动
发送方在连接建立初期,缓慢地增加数据发送速率。
![](https://blog.meowrain.cn/api/i/2025/09/16/s4e9am-1.webp)
![](https://blog.meowrain.cn/api/i/2025/09/16/s8f7jc-1.webp)
![](https://blog.meowrain.cn/api/i/2025/09/16/s8kg4t-1.webp)
# 拥塞避免
![](https://blog.meowrain.cn/api/i/2025/09/16/s8m7zi-1.webp)
![](https://blog.meowrain.cn/api/i/2025/09/16/s8x9i0-1.webp)
![](https://blog.meowrain.cn/api/i/2025/09/16/s90p0f-1.webp)
![](https://blog.meowrain.cn/api/i/2025/09/16/s91r9m-1.webp)
![](https://blog.meowrain.cn/api/i/2025/09/16/s942bz-1.webp)
![](https://blog.meowrain.cn/api/i/2025/09/16/s954fw-1.webp)
![](https://blog.meowrain.cn/api/i/2025/09/16/s97ozk-1.webp)
# 拥塞发生
![](https://blog.meowrain.cn/api/i/2025/09/16/s996bt-1.webp)
![](https://blog.meowrain.cn/api/i/2025/09/16/s9j62w-1.webp)
![](https://blog.meowrain.cn/api/i/2025/09/16/s9k9xw-1.webp)
![](https://blog.meowrain.cn/api/i/2025/09/16/s9mcew-1.webp)
![](https://blog.meowrain.cn/api/i/2025/09/16/s9o1fm-1.webp)
![](https://blog.meowrain.cn/api/i/2025/09/16/s9pnms-1.webp)
![](https://blog.meowrain.cn/api/i/2025/09/16/s9qvtz-1.webp)
# 快速恢复
![](https://blog.meowrain.cn/api/i/2025/09/16/s9tjrb-1.webp)
![](https://blog.meowrain.cn/api/i/2025/09/16/s9udvm-1.webp)
![](https://blog.meowrain.cn/api/i/2025/09/16/sa4di7-1.webp)
![](https://blog.meowrain.cn/api/i/2025/09/16/sa6axn-1.webp)
![](https://blog.meowrain.cn/api/i/2025/09/16/sa858d-1.webp)
![](https://blog.meowrain.cn/api/i/2025/09/16/sa92ie-1.webp)
![](https://blog.meowrain.cn/api/i/2025/09/16/saaosr-1.webp)

View File

@@ -0,0 +1,33 @@
---
title: 说说TCP的三次握手
published: 2025-09-16
description: ''
image: ''
tags: [TCP,计算机网络]
category: '计算机网络'
draft: false
lang: ''
---
# 流程
客户端给服务端发送一个SYN同步序列号消息给服务器服务器收到后回复一个SYN + ACK同步序列编号-确认消息最后客户端再发送一个ACK(确认)消息确认服务器已经收到了SYN-ACK消息从而完成三次握手建立起可靠的TCP连接。
![](https://blog.meowrain.cn/api/i/2025/09/16/qkipdz-1.webp)
# 为什么需要三次握手
- 避免历史错误连接的建立,减少通信双方不必要的资源消耗
- 帮助通信双方同步初始化序列号
> 所以为什么三次能解决历史错误连接的问题?
网络情况可能比较复杂,发送方第一次发送请求后,可能由于网络原因被阻塞住了,这个时候发送方可能又会再次发送请求,如果说握手只有两次,那么接收方只能拒绝或者接受,但是无法分清请求是旧的还是新的
![](https://blog.meowrain.cn/api/i/2025/09/16/qz2t5q-1.webp)
![](https://blog.meowrain.cn/api/i/2025/09/16/qzb8ro-1.webp)
![](https://blog.meowrain.cn/api/i/2025/09/16/r2w1yc-1.webp)
![](https://blog.meowrain.cn/api/i/2025/09/16/qnblw0-1.webp)
![](https://blog.meowrain.cn/api/i/2025/09/16/r3b7la-1.webp)
# 为什么不是四次握手
中间的syn + ack把两步合并了精简了连接过程。