当前位置:网站首页>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
边栏推荐
- [comparative learning] koa JS, gin and asp Net core - Middleware
- 每日刷题记录 (二)
- ElastricSearch第二弹之分片原理
- 开源 SPL 重新定义 OLAP Server
- Interpreting the 2022 agile coaching industry status report
- Naacl 2022 finds | byte proposes MTG: multilingual text generation data set
- Kubernetes 资源拓扑感知调度优化
- 直播分享| 腾讯云 MongoDB 智能诊断及性能优化实践
- Helix QAC is updated to 2022.1 and will continue to provide high standard compliance coverage
- 打新债有条件吗 打新债安全吗
猜你喜欢

每日刷题记录 (二)

Chaos engineering, learn about it

35歲危機?內卷成程序員代名詞了…

Live sharing | Tencent cloud mongodb intelligent diagnosis and Performance Optimization Practice

5 月最大的 GameFi 崩溃受害者能否在熊市中生存?| May Monthly Report

宝安区航城街道领导一行莅临联诚发参观调研

35岁危机?内卷成程序员代名词了…

Zabbix监控- Aruba AP运行数据

增加双因素认证,不惧密码泄露,更不惧123456

墨天轮访谈 | IvorySQL王志斌—IvorySQL,一个基于PostgreSQL的兼容Oracle的开源数据库
随机推荐
19 classic cases of generator functions
如何在Microsoft Exchange 2010中安装SSL证书
力扣每日一练之字符串Day6
Advanced network accounting notes (6)
准备好迁移上云了?请收下这份迁移步骤清单
Application de JDBC dans les essais de performance
区块哈希竞猜游戏系统开发(dapp)
20set introduction and API
在线文本实体抽取能力,助力应用解析海量文本数据
FlagAI飞智:AI基础模型开源项目,支持一键调用OPT等模型
Development of block hash quiz game system (DAPP)
解读2022年度敏捷教练行业现状报告
Zabbix监控- Aruba AP运行数据
Shunted self attention | vit method for solving small target problems, which is derived from PVT and higher than PVT
[one by one series] identityserver4 (III) user name and password
UST 崩盘后,稳定币市场格局将迎来新机遇?
1、 Summary and introduction
35歲危機?內卷成程序員代名詞了…
I came from a major, so I didn't want to outsource
RStudio 1.4软件安装包和安装教程