xxx
BIN
public/api/i/2025/09/16/qkipdz-1.webp
Normal file
|
After Width: | Height: | Size: 10 KiB |
BIN
public/api/i/2025/09/16/qnblw0-1.webp
Normal file
|
After Width: | Height: | Size: 15 KiB |
BIN
public/api/i/2025/09/16/qz2t5q-1.webp
Normal file
|
After Width: | Height: | Size: 28 KiB |
BIN
public/api/i/2025/09/16/qzb8ro-1.webp
Normal file
|
After Width: | Height: | Size: 54 KiB |
BIN
public/api/i/2025/09/16/r2w1yc-1.webp
Normal file
|
After Width: | Height: | Size: 12 KiB |
BIN
public/api/i/2025/09/16/r3b7la-1.webp
Normal file
|
After Width: | Height: | Size: 60 KiB |
BIN
public/api/i/2025/09/16/rcsxk4-1.webp
Normal file
|
After Width: | Height: | Size: 20 KiB |
BIN
public/api/i/2025/09/16/s4e9am-1.webp
Normal file
|
After Width: | Height: | Size: 52 KiB |
BIN
public/api/i/2025/09/16/s8f7jc-1.webp
Normal file
|
After Width: | Height: | Size: 19 KiB |
BIN
public/api/i/2025/09/16/s8kg4t-1.webp
Normal file
|
After Width: | Height: | Size: 30 KiB |
BIN
public/api/i/2025/09/16/s8m7zi-1.webp
Normal file
|
After Width: | Height: | Size: 34 KiB |
BIN
public/api/i/2025/09/16/s8x9i0-1.webp
Normal file
|
After Width: | Height: | Size: 41 KiB |
BIN
public/api/i/2025/09/16/s90p0f-1.webp
Normal file
|
After Width: | Height: | Size: 34 KiB |
BIN
public/api/i/2025/09/16/s91r9m-1.webp
Normal file
|
After Width: | Height: | Size: 33 KiB |
BIN
public/api/i/2025/09/16/s942bz-1.webp
Normal file
|
After Width: | Height: | Size: 35 KiB |
BIN
public/api/i/2025/09/16/s954fw-1.webp
Normal file
|
After Width: | Height: | Size: 35 KiB |
BIN
public/api/i/2025/09/16/s97ozk-1.webp
Normal file
|
After Width: | Height: | Size: 20 KiB |
BIN
public/api/i/2025/09/16/s996bt-1.webp
Normal file
|
After Width: | Height: | Size: 24 KiB |
BIN
public/api/i/2025/09/16/s9j62w-1.webp
Normal file
|
After Width: | Height: | Size: 24 KiB |
BIN
public/api/i/2025/09/16/s9k9xw-1.webp
Normal file
|
After Width: | Height: | Size: 22 KiB |
BIN
public/api/i/2025/09/16/s9mcew-1.webp
Normal file
|
After Width: | Height: | Size: 19 KiB |
BIN
public/api/i/2025/09/16/s9o1fm-1.webp
Normal file
|
After Width: | Height: | Size: 20 KiB |
BIN
public/api/i/2025/09/16/s9pnms-1.webp
Normal file
|
After Width: | Height: | Size: 44 KiB |
BIN
public/api/i/2025/09/16/s9qvtz-1.webp
Normal file
|
After Width: | Height: | Size: 38 KiB |
BIN
public/api/i/2025/09/16/s9tjrb-1.webp
Normal file
|
After Width: | Height: | Size: 26 KiB |
BIN
public/api/i/2025/09/16/s9udvm-1.webp
Normal file
|
After Width: | Height: | Size: 24 KiB |
BIN
public/api/i/2025/09/16/sa4di7-1.webp
Normal file
|
After Width: | Height: | Size: 24 KiB |
BIN
public/api/i/2025/09/16/sa6axn-1.webp
Normal file
|
After Width: | Height: | Size: 24 KiB |
BIN
public/api/i/2025/09/16/sa858d-1.webp
Normal file
|
After Width: | Height: | Size: 21 KiB |
BIN
public/api/i/2025/09/16/sa92ie-1.webp
Normal file
|
After Width: | Height: | Size: 26 KiB |
BIN
public/api/i/2025/09/16/saaosr-1.webp
Normal file
|
After Width: | Height: | Size: 24 KiB |
12
src/content/posts/计算机网络/TCP四次挥手.md
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
---
|
||||||
|
title: 说说TCP四次挥手
|
||||||
|
published: 2025-09-16
|
||||||
|
description: ''
|
||||||
|
image: ''
|
||||||
|
tags: [计算机网络,TCP四次挥手]
|
||||||
|
category: '计算机网络'
|
||||||
|
draft: false
|
||||||
|
lang: ''
|
||||||
|
---
|
||||||
|
|
||||||
|
|
||||||
49
src/content/posts/计算机网络/说说TCP拥塞控制.md
Normal file
@@ -0,0 +1,49 @@
|
|||||||
|
---
|
||||||
|
title: 说说TCP拥塞控制步骤
|
||||||
|
published: 2025-09-16
|
||||||
|
description: ''
|
||||||
|
image: ''
|
||||||
|
tags: [TCP拥塞控制,TCP,计算机网络]
|
||||||
|
category: '计算机网络'
|
||||||
|
draft: false
|
||||||
|
lang: ''
|
||||||
|
---
|
||||||
|

|
||||||
|
# 慢启动
|
||||||
|
发送方在连接建立初期,缓慢地增加数据发送速率。
|
||||||
|

|
||||||
|

|
||||||
|

|
||||||
|
|
||||||
|
# 拥塞避免
|
||||||
|

|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
# 拥塞发生
|
||||||
|

|
||||||
|

|
||||||
|

|
||||||
|

|
||||||
|

|
||||||
|
|
||||||
|

|
||||||
|

|
||||||
|
# 快速恢复
|
||||||
|

|
||||||
|

|
||||||
|

|
||||||
|

|
||||||
|

|
||||||
|

|
||||||
|

|
||||||
33
src/content/posts/计算机网络/说说TCP的三次握手.md
Normal 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连接。
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
# 为什么需要三次握手
|
||||||
|
- 避免历史错误连接的建立,减少通信双方不必要的资源消耗
|
||||||
|
- 帮助通信双方同步初始化序列号
|
||||||
|
|
||||||
|
> 所以为什么三次能解决历史错误连接的问题?
|
||||||
|
网络情况可能比较复杂,发送方第一次发送请求后,可能由于网络原因被阻塞住了,这个时候发送方可能又会再次发送请求,如果说握手只有两次,那么接收方只能拒绝或者接受,但是无法分清请求是旧的还是新的
|
||||||
|
|
||||||
|

|
||||||
|

|
||||||
|

|
||||||
|

|
||||||
|
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
# 为什么不是四次握手
|
||||||
|
中间的syn + ack把两步合并了,精简了连接过程。
|
||||||