当前位置:网站首页>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)

边栏推荐
- Day6 merge two ordered arrays
- Producer consumer mode (multithreading, use of shared resources)
- Get log4net log file in C - get log4net log file in C
- Test changes in Devops mode -- learning and thinking
- Strange way of expressing integers (expanding Chinese remainder theorem)
- Q&A:Transformer, Bert, ELMO, GPT, VIT
- 1.5 learn to find mistakes first
- Kubernetes 通信异常网络故障 解决思路
- What is the maximum number of concurrent TCP connections for a server? 65535?
- Wargames study notes -- Leviathan
猜你喜欢

Apprentissage intensif - notes d'apprentissage 1 | concepts de base

Battle drag method 1: moderately optimistic, build self-confidence (1)

JVM JNI and PVM pybind11 mass data transmission and optimization

Design e-commerce seckill system

Node MySQL serialize cannot rollback transactions

2.4 conversion of different data types

How to handle wechat circle of friends marketing activities and share production and release skills

How to do Taobao full screen rotation code? Taobao rotation tmall full screen rotation code

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

2022 high voltage electrician examination and high voltage electrician reexamination examination
随机推荐
【愚公系列】2022年7月 Go教学课程 002-Go语言环境安装
Analysis of gas fee setting under eip1559
Node MySQL serialize cannot rollback transactions
Haven't expressed the artifact yet? Valentine's Day is coming. Please send her a special gift~
强化学习-学习笔记1 | 基础概念
thrift go
2.5 conversion of different data types (2)
Q&A:Transformer, Bert, ELMO, GPT, VIT
设计电商秒杀系统
JVM JNI and PVM pybind11 mass data transmission and optimization
Global and Chinese markets of cast iron diaphragm valves 2022-2028: Research Report on technology, participants, trends, market size and share
浅议.NET遗留应用改造
C 10 new feature [caller parameter expression] solves my confusion seven years ago
11-grom-v2-05-initialization
MySQL learning notes - single table query
Recommendation of books related to strong foundation program mathematics
Rhcsa third day notes
Brief analysis of ref nerf
Global and Chinese markets of lithium chloride 2022-2028: Research Report on technology, participants, trends, market size and share
全网都在疯传的《老板管理手册》(转)