当前位置:网站首页>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正式发送数据
边栏推荐
- 1. Mx6u learning notes (VII): bare metal development (4) -- master frequency and clock configuration
- npm一个错误 npm ERR code ENOENT npm ERR syscall open
- 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
- February 13, 2022-2-climbing stairs
- Data dictionary in C #
- CSDN问答模块标题推荐任务(一) —— 基本框架的搭建
- Mysql27 index optimization and query optimization
- Redis的基础使用
- MySQL other hosts cannot connect to the local database
- IDEA 导入导出 settings 设置文件
猜你喜欢

Opencv uses freetype to display Chinese

Copie maître - esclave MySQL, séparation lecture - écriture

Asp access Shaoxing tourism graduation design website

CSDN markdown editor

CSDN问答模块标题推荐任务(一) —— 基本框架的搭建

Postman Interface Association

csdn-Markdown编辑器

Adaptive Bezier curve network for real-time end-to-end text recognition

35 is not a stumbling block in the career of programmers

Swagger, Yapi interface management service_ SE
随机推荐
[recommended by bloggers] C WinForm regularly sends email (with source code)
MySQL20-MySQL的数据目录
MySQL flush operation
C语言标准的发展
February 13, 2022-3-middle order traversal of binary tree
Ansible practical Series II_ Getting started with Playbook
MySQL23-存储引擎
Some problems in the development of unity3d upgraded 2020 VR
Navicat 导出表生成PDM文件
Mysql27 index optimization and query optimization
C language string function summary
[Thesis Writing] how to write function description of jsp online examination system
Mysql 其他主机无法连接本地数据库
Mysql28 database design specification
There are three iPhone se 2022 models in the Eurasian Economic Commission database
LeetCode #461 汉明距离
【博主推荐】SSM框架的后台管理系统(附源码)
Global and Chinese markets of static transfer switches (STS) 2022-2028: Research Report on technology, participants, trends, market size and share
Installation and use of MySQL under MySQL 19 Linux
Mysql21 user and permission management