当前位置:网站首页>[network planning] 2.1.2 transport layer services that can be selected by the application
[network planning] 2.1.2 transport layer services that can be selected by the application
2022-06-11 00:26:00 【ChuHao H】

This article is based on 《 computer network —— top-down approach 》
1. Process of communication
At application level , The subjects who communicate with each other are process , A process can be considered as a program running in the end system .
The interface between a process and a computer network
The two processes communicate with each other through the network to form a communication process pair , The two processes send messages to each other . Process through a process called ** Socket (socket)** Software interface to send or receive messages to or from the network . Application layer developers can control everything about sockets in the application layer , But there is little control over the socket at the transport layer end .
2. Transportation services available for the application
Service is a function provided by the lower layer to the upper layer . The application layer can select the services provided by the transportation layer . The application layer can provide the following four types of services for the transportation layer : Reliable data transportation 、 throughput 、 Timing and security
- Reliable data transportation
Packets may be lost in the computer network , Or some bits in the packet are discarded after being damaged . But some applications in the application layer ( Like email 、 File transfer, etc ) If packet loss occurs , It will lead to disastrous consequences . therefore , The transport layer needs to provide... To the application layer Reliable data transmission service , Ensure that the data can reach the destination . Of course , For example, applications such as video conferencing allow a small number of messages to be lost Tolerable lost applications , You can also choose not to use reliable data transmission services .
- throughput
The transport layer protocol can provide the application layer with guaranteed available throughput at a certain rate . This service can meet Bandwidth sensitive applications , For example, the Internet telephony application is based on 32kbps Is encoded with care , You can apply for more than through this service 32kbps Stable throughput . Elastic applications ( Like email , File transfer ) There is no minimum requirement for throughput , You can not use this service .
- timing
Some applications, for example, require delay for online games and live broadcasting , The game application has a delay higher than 100ms You will have a bad experience , therefore , The transport layer provides timing services for the application layer , It can guarantee the delivery of messages within a certain time .
- Security
The transport layer can also provide security services .
3. Application layer protocol
Application layer protocol defines how applications running on different end systems should transmit messages to each other , Specifically
- Type of message exchanged , Such as request message and corresponding message
- Syntax of various message types , For example, how to describe each field in the message
- Determines when and how a process sends messages , Specifies how to respond to messages
边栏推荐
- 【Go语言学习】——并发编程
- Typecho blog site wide deployment of Tencent cloud CDN tutorial - Xingze V Club
- 452. 用最少数量的箭引爆气球
- 字符串时间排序,对时间格式字符串进行排序
- Test it first
- Njupt Nanyou Discrete Mathematics_ Experiment 2
- [MVC&Core]ASP.NET Core MVC 视图传值入门
- How to check the variable waveform when debugging the program? Look here
- Multipass Chinese document - instructions for use (contents page)
- Room第一次使用
猜你喜欢

Website online customer service system Gofly source code development log - 5 Gin framework integration daemon

Compared with the "South-to-North Water Transfer", what will the "east to west" of the fire bring to cloud computing?
![[turtle confessions collection]](/img/81/b4bacc23691e58e403f1330d0ca7cf.jpg)
[turtle confessions collection] "the moon at the bottom of the sea is the moon in the sky, and the person in front of us is the sweetheart." Be happy for the rest of your life, and be safe for ever ~

【JVM】类加载机制

Detailed decomposition of the shortest path problem in Figure

452. 用最少数量的箭引爆气球
![[pyGame games] I'm not afraid you can't walk the maze series: the ultimate AI walks the maze. After learning, it will take you to open the door to a new world ~ (with game source code)](/img/57/dcf291b044b5e5860a7fdc817076d5.jpg)
[pyGame games] I'm not afraid you can't walk the maze series: the ultimate AI walks the maze. After learning, it will take you to open the door to a new world ~ (with game source code)
![[opencv practice] in cold winter, there will be a rainbow. Do you love this special effect?](/img/24/40c299b023f5f8d781d11296bcf28a.png)
[opencv practice] in cold winter, there will be a rainbow. Do you love this special effect?

Why is the website snapshot hijacked and tampered with

【JVM】线程
随机推荐
Exemple VTK - - trois plans qui se croisent
圖的最短路徑問題 詳細分解版
文件缓存和session怎么处理?
Things about Bluetooth development (1) -- starting with packet capturing data
测试下吧先
Shengteng AI development experience based on target detection and identification of Huawei cloud ECS [Huawei cloud to jianzhiyuan]
Learning notes: hook point of plug-in activity
mybaits merge into
Njupt Nanyou Discrete Mathematics_ Experiment 3
Installation of phpstudy
Word在目录里插入引导符(页码前的小点点)的方法
博文推荐|构建 IoT 应用——FLiP 技术栈简介
【数据库】Mysql索引面试题
系统应用安装时,签名校验失败问题
763. dividing alphabetic intervals
【AcWing】4. Multiple knapsack problem I
字符串时间排序,对时间格式字符串进行排序
Word删除页眉横线的方法
[untitled] test
SQL查询,子查询作为结果字段