当前位置:网站首页>TCP/IP协议(UDP)
TCP/IP协议(UDP)
2022-07-06 09:13:00 【As。】
TCP/IP协议:是一个协议簇,包含很多协议,UDP也包括在其中。一般命名都是TCP/IP,是因为是协议中最重要的俩个协议
TCP/IP协议集包括:应用层、传输层、网络层、网络链路层
应用层包括:
1.超文本传输协议(HTTP)
2.文件传输协议(TFTP)
3.远程登录(Telnet)
4.网络管理(SNMP简单网络管理协议)
5.域名系统(DNS)
网络层包括:
1.IP(Internet协议)
2.ICMP(Internet控制信息协议)
3.ARP(地址解析协议)
4.RARP(反向地址解析协议)
TCP和UDP的区别 TCP:传输控制协议,是面向连接的协议。(发数据前,必须和对方先建立联系) UDP:用户数据报协议,是一个非连接的协议
1.TCP是需要连接,UDP不需要连接
2.TCP对系统资源要求多,UDP少
3.UDP程序结构较简单
4.TCP保证数据正确性,UDP可能会丢包
5.TCP保证数据顺序,UDP不保证
TCP:三次握手,四次挥手
会话过程:
1.主机A向主机B发出连接请求数据包;第一次会话:“我想给你发数据,可以吗?”
2.主机B向主机B发送同意连接和要求同步的数据包(俩台主机,一个在发送,一个在接收);第二次会话:“可以,你什么时候发?”
3.主机A再次发出一个数据包,确认主机B要求的同步;第三次会话:“我现在就发,你接着”
三次对话的目的是使数据包的发送和接收是同步进行,经过三次对话后,主机A才向主机B正式发送数据
边栏推荐
- [recommended by bloggers] C MVC list realizes the function of adding, deleting, modifying, checking, importing and exporting curves (with source code)
- MySQL主从复制、读写分离
- February 13, 2022-3-middle order traversal of binary tree
- Just remember Balabala
- MySQL transaction log
- Mysql 其他主机无法连接本地数据库
- Data dictionary in C #
- IDEA 导入导出 settings 设置文件
- npm一个错误 npm ERR code ENOENT npm ERR syscall open
- MySQL23-存儲引擎
猜你喜欢

35 is not a stumbling block in the career of programmers

API learning of OpenGL (2003) gl_ TEXTURE_ WRAP_ S GL_ TEXTURE_ WRAP_ T

Postman uses scripts to modify the values of environment variables
![[Li Kou 387] the first unique character in the string](/img/2d/f2c99549cac86c08efbfbd8ba76427.jpg)
[Li Kou 387] the first unique character in the string
![[Thesis Writing] how to write function description of jsp online examination system](/img/f8/13144e0febf4a576bbcc3290192079.jpg)
[Thesis Writing] how to write function description of jsp online examination system

Asp access Shaoxing tourism graduation design website

CSDN-NLP:基于技能树和弱监督学习的博文难度等级分类 (一)
![[ahoi2009]chess Chinese chess - combination number optimization shape pressure DP](/img/7d/8cbbd2f328a10808319458a96fa5ec.jpg)
[ahoi2009]chess Chinese chess - combination number optimization shape pressure DP

Why is MySQL still slow to query when indexing is used?

MySQL27-索引优化与查询优化
随机推荐
MySQL25-索引的创建与设计原则
How to find the number of daffodils with simple and rough methods in C language
CSDN markdown editor
Breadth first search rotten orange
MySQL completely uninstalled (windows, MAC, Linux)
Did you forget to register or load this tag 报错解决方法
MySQL19-Linux下MySQL的安装与使用
MySQL flush operation
Global and Chinese market of operational amplifier 2022-2028: Research Report on technology, participants, trends, market size and share
Global and Chinese markets for aprotic solvents 2022-2028: Research Report on technology, participants, trends, market size and share
Global and Chinese market for intravenous catheter sets and accessories 2022-2028: Research Report on technology, participants, trends, market size and share
Detailed reading of stereo r-cnn paper -- Experiment: detailed explanation and result analysis
Ansible practical Series III_ Task common commands
Global and Chinese market of thermal mixers 2022-2028: Research Report on technology, participants, trends, market size and share
MySQL20-MySQL的数据目录
35 is not a stumbling block in the career of programmers
Valentine's Day is coming, are you still worried about eating dog food? Teach you to make a confession wall hand in hand. Express your love to the person you want
CSDN博文摘要(一) —— 一个简单的初版实现
Armv8-a programming guide MMU (2)
FRP intranet penetration