自己学习计算机网络记的一些笔记,大部分是从自顶向下那本书摘下来的
Transport Layer
Transportlayer is residing between the application and network layers which is a centralpiece of layered network architecture. It has the role of providingcommunication services directly to the application processes running on different hosts. In this chapter, wewill discuss about:
- UDP and TCP transport-layer protocols.
- The relationship between the transport and network layers.
- How two entities can communicate reliably over a medium that may lose and corrupt data.
- How to control the transmission rate of transport-layer entities in order to avoid, recover from, congestion within the network.
3.1 Introduction and Transport-Layer Services
- A transport-layer protocol provides for logical communication between application processes running on different hosts. This logical communication means that the hosts running the processes are directly connected (looks like directly connected).
- Transport-layer protocols are implemented in the end systems but not in network routers. On the sending side, the transport layer converts the application-layer messages it receives from a sending application process into transport-layer packets (also known as transport-layer segments). This is done(possibly) breaking the application messages into smaller chunks and adding a transport-layer headers to each chunk to create the transport -layer segment. The transport-layer then passes the segment to the network layer at the sending end system,