What Does Transport Layer Mean?
The transport layer is the fourth layer in the open systems interconnection (OSI) network model.
The OSI model divides the tasks involved with moving information between networked computers into seven smaller, more manageable task groups. Each of the seven OSI layers is assigned a task or group of tasks.
The transport layer's tasks include error correction as well as segmenting and desegmenting data before and after it's transported across the network. This layer is also responsible for flow control and making sure that segmented data is delivered over the network in the correct sequence.
Layer 4 (the transport layer) uses the transmission control protocol (TCP) & user data protocol (UDP) to carry out its tasks.
Techopedia Explains Transport Layer
The transport layer provides communication between application processes running on different hosts within a layered architecture of protocols and other network components.
In a nutshell, the transport layer collects message segments from applications, and transmits them into the network (Layer 3). Here the segments are reassembled into fully-fledged messages, and passed on to Layer 7.
This layer enables the host to send and receive error corrected data, packets or messages over a network and is the network component that allows multiplexing.
Transport layers (Layer 4) work transparently within the layers above to deliver and receive data without errors.
The send side breaks application messages into segments (packets) and passes them on to the network layer (Layer 3).
The receiving side then reassembles segments into messages and passes them to the application layer (Layer 7).
What Services Can the Transport Layer Provide?
Devices at the end-points of a network communication establish a handshake protocol such as TCP to ensure a connection is robust before data is exchanged.
The weakness of this method is that for each delivered message, there is a requirement for an acknowledgment, adding considerable network load compared to self-error-correcting packets.
The repeated requests cause significant slowdown of network speed when defective byte streams or datagrams are sent.
Same Order Delivery
Ensures that packets are always delivered in strict sequence by assigning them a number.
Although the network layer is responsible, the transport layer can fix any discrepancies in sequence caused by packet drops or device interruption by reordering them.
Using checksums, the data integrity across all the delivery layers can be ensured.
These checksums guarantee that the data transmitted is the same as the data received and that is not corrupt.
Missing or corrupted data can be resent by requesting retransmission from other layers.
Devices at each end of a network connection often have no way of knowing each other's capabilities in terms of data throughput.
Data can end up being sent faster than the speed at which the receiving device is able to buffer or process it. When this happens, buffer overruns can cause complete communication breakdowns.
Conversely, if the receiving device is not receiving data fast enough, this causes a buffer underrun, which may well cause an unnecessary reduction in network performance.
Flow control ensures that the data is sent at a rate that is acceptable for both sides by managing data flow.
Digital communications networks are subject to bandwidth and processing speed restrictions, which can mean a huge amount of potential for data congestion on the network.
This network congestion can affect almost every part of a network. The transport layer can identify the symptoms of overloaded nodes and reduced flow rates and take the proper steps to remediate these issues.
The transmission of multiple packet streams from unrelated applications or other sources (multiplexing) across a network requires some very dedicated control mechanisms, which are found in the transport layer.
This multiplexing allows the use of simultaneous applications over a network such as when different internet browsers are opened on the same computer.
In the OSI model, multiplexing is handled in the service layer.
Some applications prefer to receive byte streams instead of packets; the transport layer allows for the transmission of byte-oriented data streams if required.