当前位置:网站首页>Main features of transport layer TCP and TCP connection
Main features of transport layer TCP and TCP connection
2022-07-03 01:31:00 【Zhang quandan, Foxconn quality inspector】
TCP The main features of the agreement
TCP Is a connection-oriented transport layer protocol .( Before the official data transmission, you need to send 3 A packet , This is called three handshakes , Negotiate parameters after establishing the connection , For example, how big is the cache , How many bytes are accepted for each segment )
Every one of them TCP Connections can have only two endpoints (end point), It can only be point-to-point ( one-on-one , Neither multicast nor broadcasting can work ).
TCP Provide reliable delivery of services . in other words , adopt TCP Connect the transmitted data , No mistakes 、 No loss 、 Send in sequence without repetition .
TCP Provide full duplex communication .( Once the sender and receiver have established a connection , Then you can use this connection for two-way communication )
Byte stream oriented .TCP Medium “ flow ”(steam) A sequence of bytes flowing into or out of a process .( Whether it's web pages or pictures , All in bytes 8 The bit , Put bytes into the cache one by one , What the application layer gives to the transport layer is the byte stream ,udp It's a message , All the content to be transmitted by the application is given udp agreement )
IP The network provides unreliable transmission
TCP Connection oriented transport layer protocol , Without connection 、 unreliable IP Provide reliable delivery services based on network services . So , stay IP Based on datagram service , Added a series of measures to ensure reliability .
TCP Byte stream oriented
Segment bytes , Then add the first , The first part has the functions of numbering .
Be careful
TCP A connection is a virtual connection, not a real physical connection .
TCP How many messages are sent to the application process at one time TCP We don't care .TCP According to the window value given by the other party and the current degree of network congestion, it determines how many bytes a message segment should contain (UDP The length of the message sent is given by the application process ).
TCP Too long data blocks can be divided into shorter ones and then transmitted .
TCP It can also wait for enough bytes to accumulate before sending out the message segment .
TCP The connection of
TCP Take connection as the most basic abstraction . Every one of them TCP The connection has two endpoints .
TCP The endpoint of the connection is not a host , It's not the mainframe IP Address , It's not the application process , It's not the protocol port of the transport layer .TCP The endpoint of a connection is called a socket (socket) Or socket .
The port number is spliced to (contatenated with)IP The address constitutes the socket .
Socket
One IP+ Port identification TCP One end , This is called socket .
TCP Connect IP Address Socket
TCP Connection is an abstraction provided by protocol software .
TCP The end of the connection is a very abstract socket , namely (IP Address ∶ Port number ).
The same IP There can be many different addresses TCP Connect . The same port number can also appear in multiple different TCP Connecting .
边栏推荐
- 【C语言】指针与数组笔试题详解
- How wide does the dual inline for bread board need?
- Database SQL language 01 where condition
- C#应用程序界面开发基础——窗体控制(4)——选择类控件
- 【FH-GFSK】FH-GFSK信号分析与盲解调研究
- [FPGA tutorial case 5] ROM design and Implementation Based on vivado core
- LeetCode 987. Vertical order transverse of a binary tree - Binary Tree Series Question 7
- MySQL foundation 06 DDL
- 2022 cable crane driver examination registration and cable crane driver certificate examination
- 按键精灵打怪学习-自动回城路线的判断
猜你喜欢
[flutter] icons component (fluttericon Download Icon | customize SVG icon to generate TTF font file | use the downloaded TTF icon file)
Excel if formula determines whether the two columns are the same
【面试题】1369- 什么时候不能使用箭头函数?
High-Resolution Network (篇一):原理刨析
Basic remote connection tool xshell
Daily topic: movement of haystack
电信客户流失预测挑战赛
MySQL - database query - condition query
看完这篇 教你玩转渗透测试靶机Vulnhub——DriftingBlues-9
【我的OpenGL学习进阶之旅】关于欧拉角、旋转顺序、旋转矩阵、四元数等知识的整理
随机推荐
Type expansion of non ts/js file modules
Excel removes the data after the decimal point and rounds the number
MySQL foundation 05 DML language
Force buckle 204 Count prime
看完这篇 教你玩转渗透测试靶机Vulnhub——DriftingBlues-9
MySQL basic usage 02
按键精灵打怪学习-多线程后台坐标识别
[Arduino experiment 17 L298N motor drive module]
What are the trading forms of spot gold and what are the profitable advantages?
[androd] module dependency replacement of gradle's usage skills
Basic concept and implementation of overcoming hash
C#应用程序界面开发基础——窗体控制(3)——文件类控件
Dotconnect for PostgreSQL data provider
Kivy教程大全之如何在 Kivy 中创建下拉列表
Matlab Doppler effect produces vibration signal and processing
产业互联网的产业范畴足够大 消费互联网时代仅是一个局限在互联网行业的存在
[day 29] given an integer, please find its factor number
2022 coal mine gas drainage examination question bank and coal mine gas drainage examination questions and analysis
【FH-GFSK】FH-GFSK信号分析与盲解调研究
C#应用程序界面开发基础——窗体控制(2)——MDI窗体