当前位置:网站首页>Tcp/ip protocol (UDP)
Tcp/ip protocol (UDP)
2022-07-06 11:08:00 【As。】
TCP/IP agreement : It's a protocol cluster , Contains many protocols ,UDP Also included . The general name is TCP/IP, Because it is the two most important agreements in the agreement
TCP/IP The protocol set includes : application layer 、 Transport layer 、 The network layer 、 Network link layer
The application layer includes :
1. Hypertext transfer protocol (HTTP)
2. File transfer protocol (TFTP)
3. Remote login (Telnet)
4. Network management (SNMP Simple network management protocol )
5. The domain name system (DNS)
The network layer includes :
1.IP(Internet agreement )
2.ICMP(Internet Control information protocol )
3.ARP( Address resolution protocol )
4.RARP( Reverse Address Resolution Protocol )
TCP and UDP The difference between TCP: Transmission control protocol , It's a connection oriented protocol .( Before sending data , You must establish contact with the other party first ) UDP: User datagram protocol , It's a connectionless protocol
1.TCP Yes, you need to connect ,UDP There is no need to connect
2.TCP There are many requirements for system resources ,UDP Less
3.UDP The program structure is simple
4.TCP Make sure the data is correct ,UDP You may lose your bag
5.TCP Ensure the order of data ,UDP No guarantee
TCP: Three handshakes , Four waves
Conversation process :
1. host A Host computer B Send connection request packet ; First conversation :“ I want to send you data , Is that OK ?”
2. host B Host computer B Send packets that agree to connect and require synchronization ( Two hosts , One is sending , One is receiving ); Second session :“ Sure , When do you send ?”
3. host A Send a packet again , Confirm host B Required synchronization ; The third session :“ I'll send... Now , You go on ”
The purpose of the three dialogues is to make the sending and receiving of data packets proceed synchronously , After three conversations , host A To the host B Send data officially
边栏推荐
- QT creator specify editor settings
- Other new features of mysql18-mysql8
- 报错解决 —— io.UnsupportedOperation: can‘t do nonzero end-relative seeks
- Ansible practical Series III_ Task common commands
- csdn-Markdown编辑器
- 【博主推荐】SSM框架的后台管理系统(附源码)
- CSDN Q & a tag skill tree (V) -- cloud native skill tree
- CSDN问答标签技能树(二) —— 效果优化
- 项目实战-后台员工信息管理(增删改查登录与退出)
- [BMZCTF-pwn] 12-csaw-ctf-2016-quals hungman
猜你喜欢
LeetCode #461 汉明距离
Django运行报错:Error loading MySQLdb module解决方法
CSDN question and answer module Title Recommendation task (II) -- effect optimization
A brief introduction to the microservice technology stack, the introduction and use of Eureka and ribbon
Mysql21 - gestion des utilisateurs et des droits
Asp access Shaoxing tourism graduation design website
Other new features of mysql18-mysql8
Unable to call numpy in pycharm, with an error modulenotfounderror: no module named 'numpy‘
CSDN问答模块标题推荐任务(二) —— 效果优化
Neo4j installation tutorial
随机推荐
Use dapr to shorten software development cycle and improve production efficiency
Ansible实战系列一 _ 入门
QT creator create button
Navicat 导出表生成PDM文件
Install mysql5.5 and mysql8.0 under windows at the same time
图像识别问题 — pytesseract.TesseractNotFoundError: tesseract is not installed or it‘s not in your path
学习问题1:127.0.0.1拒绝了我们的访问
Principes JDBC
[BMZCTF-pwn] 11-pwn111111
JDBC原理
CSDN问答标签技能树(五) —— 云原生技能树
API learning of OpenGL (2002) smooth flat of glsl
@controller,@service,@repository,@component区别
Did you forget to register or load this tag 报错解决方法
软件测试-面试题分享
++Implementation of I and i++
JDBC principle
Ansible实战系列三 _ task常用命令
Leetcode 461 Hamming distance
MySQL other hosts cannot connect to the local database