当前位置:网站首页>Tcp/udp Fundamentals
Tcp/udp Fundamentals
2022-06-23 19:41:00 【51CTO】
port
Distinguish between different applications of a computer
Each application needs to go through a unique port to get in and out of the network Identify which application should handle the data through the port number
The server is usually a fixed port Most clients are 1024 The above random ports
TCP encapsulation

Sequence Number Serial number
Acknowledgement Number Confirmation no.
Acknowledgement mechanism
Seq = Last time ACK
Ack = Last time seq+ length
If not received Or receive incomplete Will be sent again Ack Request the other party to resend [seq unchanged Ack
End of the mandatory RST Set to 1 Forcibly interrupt TCP Connect
URG Emergency switch Indicates that the data segment has urgent data to be forwarded
URG Pointer Pointer to an emergency Surface data address
Data Offset It's a Offset . The reason this quantity exists is TCP Header The length of the part is variable , So you need a number to describe which byte the data starts from .
windows Window mechanism The sliding window By announcing the local receiving capacity Achieve flow control
Checksum Check sequence
OPtion Expand Padding fill
High bandwidth consumption Large transmission delay
Applicable to high data integrity Scenarios that do not require high transmission delay
UDP

Low bandwidth usage Low transmission delay There is no reliability mechanism
High requirements for transmission delay But the data integrity requirements are low
边栏推荐
- 35歲危機?內卷成程序員代名詞了…
- [one by one series] identityserver4 (II) using client credentials to protect API resources
- Shunted self attention | vit method for solving small target problems, which is derived from PVT and higher than PVT
- 手把手写深度学习(15):在Hugging Face上构建自己的语料库
- RStudio 1.4软件安装包和安装教程
- 19 classic cases of generator functions
- CV fully connected neural network
- 图扑软件数字孪生智慧水务,突破海绵城市发展困境
- CV image classification
- 区块哈希竞猜游戏系统开发(dapp)
猜你喜欢

FlagAI飞智:AI基础模型开源项目,支持一键调用OPT等模型

Check four WiFi encryption standards: WEP, WPA, WPA2 and WPA3

Real topic of the 13th National Competition of single chip microcomputer in the Blue Bridge Cup

JDBC 在性能测试中的应用

Vprom notes

如何使用物联网低代码平台进行流程管理?

Development of block hash quiz game system (DAPP)

LeetCode 473. Match to square

Official announcement. Net 7 preview 5

NAACL 2022 Findings | 字节提出MTG:多语言文本生成数据集
随机推荐
Application of JDBC in performance test
Robust extraction of specific signals with time structure (Part 2)
Shell Scripting
Is it safe to pay new debts
1、 Summary and introduction
打新债好不好 打新债安全吗
Online text entity extraction capability helps applications analyze massive text data
How long do you need to prepare for the PMP Exam?
How to avoid the "black swan" incident in the gene field: a security war behind a preventive "recall"
Live broadcast review | detailed explanation of koordinator architecture of cloud native hybrid system (complete ppt attached)
SAVE: 软件分析验证和测试平台
硬件开发笔记(六): 硬件开发基本流程,制作一个USB转RS232的模块(五):创建USB封装库并关联原理图元器件
如何使用物联网低代码平台进行流程管理?
35岁危机?内卷成程序员代名词了…
解读2022年度敏捷教练行业现状报告
Définition de la fonction et paramètres de la fonction
Advanced network accounting notes (III)
How to use the low code platform of the Internet of things for process management?
Netseer: stream event telemetry notes for programmable data plane
Uniswap创始人:不会为Genie发行独立代币,Genie产品将集成至Uniswap界面