当前位置:网站首页>Yyds dry goods inventory TCP & UDP
Yyds dry goods inventory TCP & UDP
2022-07-03 20:48:00 【You0tech】
Connection oriented
- TCP: Reliable transmission 、 Connection oriented ---> Slow speed , High accuracy
- UDP: Unreliable transmission 、 Non connection oriented ---> Fast , Poor accuracy
- If the four layers of an application layer protocol are used TCP port , Then before the formal data message transmission , You need to establish a connection first . Data can only be transferred after the connection is established .
- Three handshakes : Connection oriented high-level protocols need to establish a connection before formally transmitting data , The process of establishing a connection requires sending three messages back and forth , We call the process of establishing a connection three handshakes
Three handshakes
- The client sends syn package (syn=j) To the server , Request to establish a connection
At this stage ,TCP The message contains : Source port 、 Destination port 、SYN identification
- 1.

- Server received SYN package , Must confirm customer's SYN(ack=j+1), At the same time, I also send a SYN package (syn=k), namely SYN+ACK package

- Client receives server's SYN+ACK package , Send confirmation package to server ACK(ack=k+1)

边栏推荐
- Shortest path problem of graph theory (acwing template)
- 设计电商秒杀系统
- Day6 merge two ordered arrays
- How to set the system volume programmatically- How to programmatically set the system volume?
- Global and Chinese markets of lithium chloride 2022-2028: Research Report on technology, participants, trends, market size and share
- 强化學習-學習筆記1 | 基礎概念
- Set, weakset, map, weakmap in ES6
- 淺析 Ref-NeRF
- Design e-commerce seckill system
- 同花顺开户注册安全靠谱吗?有没有风险的?
猜你喜欢

Design e-commerce seckill system

2.5 conversion of different data types (2)

Based on laravel 5.5\5.6\5 X solution to the failure of installing laravel ide helper

An old programmer gave it to college students

Test changes in Devops mode -- learning and thinking

It is discussed that the success of Vit lies not in attention. Shiftvit uses the precision of swing transformer to outperform the speed of RESNET

浅议.NET遗留应用改造

MySQL master-slave synchronization principle

The 29th day of force deduction (DP topic)

Qtablewidget control of QT
随机推荐
Discussion Net legacy application transformation
Hcie security Day11: preliminarily learn the concepts of firewall dual machine hot standby and vgmp
不同业务场景该如何选择缓存的读写策略?
Use nodejs+express+mongodb to complete the data persistence project (with modified source code)
Transformation between yaml, Jason and Dict
Deep search DFS + wide search BFS + traversal of trees and graphs + topological sequence (template article acwing)
电子科技大学|强化学习中有效利用的聚类经验回放
2166. Design bit set
Based on laravel 5.5\5.6\5 X solution to the failure of installing laravel ide helper
Golang type assertion and conversion (and strconv package)
It is discussed that the success of Vit lies not in attention. Shiftvit uses the precision of swing transformer to outperform the speed of RESNET
How to handle wechat circle of friends marketing activities and share production and release skills
Global and Chinese markets of polyimide tubes for electronics 2022-2028: Research Report on technology, participants, trends, market size and share
MySQL 8.0 data backup and recovery
How can the outside world get values when using nodejs to link MySQL
From the behind the scenes arena of the ice and snow event, see how digital builders can ensure large-scale events
Global and Chinese market of cyanuric acid 2022-2028: Research Report on technology, participants, trends, market size and share
An old programmer gave it to college students
JS three families
[Yugong series] February 2022 Net architecture class 004 ABP vNext used in WPF project