What is transport layer? – TechTarget Definition (2024)

By

  • Gavin Wright
  • Andrew Froehlich,West Gate Networks

What is the transport layer?

The transport layer is Layer 4 of the Open Systems Interconnection (OSI) communications model. It is responsible for ensuring that the data packets arrive accurately and reliably between sender and receiver. The transport layer most often uses TCP or User Datagram Protocol (UDP). In the TCP/IP network model, the transport layer comes between the application and network layers.

In the OSI model, the transport layer sits between the network layer and the session layer. The network layer is responsible for taking the data packets and sending them to the correct computer. The transport layer then takes the received packets, checks them for errors and sorts them. Then, it sends them to the session layer of the correct program running on the computer. The session layer now takes the well-formatted packets and uses them for the application's data.

What is transport layer? – TechTarget Definition (1)

To illustrate the transport layer, imagine a computer is a big company with many departments. The data packets are letters. The network layer is like the Postal Service that gets the letters to the correct address of the company. The transport layer is like the company mailroom. It receives the letters and does an initial inspection.

Any letters that were damaged in transit or delivered to the wrong address it reports to the sender. It then sorts the letters by department, puts them into the time order of oldest to newest and then delivers them inside the company to the correct department. The department, or application in this case, then takes the letters to read them and can build an understanding of the back-and-forth correspondence and do whatever work is needed from the letter.

Transport layer functions

The overall functionality is to insulate the application layer from needing to worry about the nitty-gritty details. It does this by providing end-to-end communication, reliability, flow control, addressing and multiplexing:

  • End-to-end communication is the ability of the transport layer to provide the application a way to send and receive a stream of data. The network layer segments the data stream into packets that are sent over the network and reconstructs the data on the other end. If the data packets arrive out of order, it can reorder them by segment numbering and present the data in the correct order.
  • Reliability is the ability to correct errors that can happen during data transmission over the network. If data were to be accidentally changed in transit, error correcting and checksums would catch it. If a packet were to be lost, it would be caught and retransmitted. If a single packet were to be duplicated, it could be detected and dropped. It can also send an acknowledgement of received packets for guaranteed delivery. Some protocols send a message if a packet is not received or is corrupt.
  • Flow control is the ability for the transport layer to avoid sending more data than can be reliably transmitted. It can buffer sending and receiving data until there is enough network capacity for it to go through. If the receiver buffer becomes full, it can reduce the sending rate. It also implements congestion control. If a network were to become flooded with too many retransmit messages, it would be overwhelmed and not able to recover. Congestion control prevents this by using dynamic retransmission timers and slow start.
  • Addressing is the ability to communicate with the correct application on the computer. Addressing typically uses network ports to assign each sending and receiving application a specific port number on the machine. By combining the IP address used in the network layer and the port on the transport layer, each application can have a unique address.
  • Multiplexing is the ability for any number of applications to use any number of network connections. For example, a typical desktop computer may only have one Ethernet network connection but have several connections to the internet running at the same time, such as a web browser, video streaming and a mail client. Conversely, a large server may only have one application, such as a SQL server, but have two physical Ethernet connections to provide as much bandwidth as possible. The transport layer ensures that each application gets a fair amount of shared network connections.

Transport layer in TCP/IP model

The OSI model is a theoretical construct of how communication between systems can be understood. It does not directly relate to any specific implementation. TCP/IP, on the other hand, is a practically implemented protocol that is used in modern computer networks and on the internet.

TCP/IP may or may not implement all the features mentioned by the OSI model. Supported features depend on which protocols are used.

TCP/IP also uses less layers. In the OSI model, the transport layer comes between the network and the session layer. In TCP/IP, it comes between the network layer and the application layer.

Transport layer protocols

UDP and TCP are the most common transport layer protocols.

UDP is a simple and fast transport protocol. It is for connectionless transmissions. It is considered unreliable because it does not use acknowledgements or retransmissions, so packets may be lost. UDP is best for real-time data where speed of delivery is more important than reliability, such as for video conferencing.

TCP is the more feature-rich transport protocol. It is connection-oriented. It uses synchronization and acknowledgement messages to ensure delivery. It retransmits and reorders packets if needed. It can negotiate sending and receiving rates. TCP is slower than UDP. TCP is the most common protocol on the internet.

What is transport layer? – TechTarget Definition (2)

QUIC, formerly Quick UDP Internet Connections, is a new protocol. It seeks to combine many of the best reliability features of TCP with the speed of UDP. It is optimized for use over the internet and for Hypertext Transfer Protocol 3. It uses forward error correction, making it better for wireless transmissions, such as for 5G networks.

Other transport layer protocols include the following:

  • Fibre Channel Protocol.
  • Reliable Data Protocol.
  • Stream Control Transmission Protocol.

Learn about 12 common network protocols and their functions.

This was last updated in April 2023

Continue Reading About transport layer

  • What is the difference between TCP/IP model vs. OSI model?
  • Top 12 most commonly used IoT protocols and standards
  • Navigate different network ports, from physical to virtual
  • 9 most common network issues and how to solve them
  • 7 TCP/IP vulnerabilities and how to prevent them

Related Terms

What is AWS Outposts?
AWS Outposts is a fully managed service from Amazon Web Services (AWS) that enables users to set up a hybrid cloud by extending ...Seecompletedefinition
What is distributed computing?
Distributed computing is a model in which components of a software system are shared among multiple computers or nodes.Seecompletedefinition
What is FTP?
File Transfer Protocol (FTP) is a network protocol for transmitting files between computers over TCP/IP connections.Seecompletedefinition

Dig Deeper on Cloud and data center networking

  • What is Real-Time Transport Control Protocol (RTCP)?By: RahulAwati
  • Examine a captured packet using WiresharkBy: DamonGarn
  • Port scan attacks: What they are and how to prevent themBy: MichaelCobb
  • An explanation of TCP/IPBy: SamanthaPoutre
What is transport layer? – TechTarget Definition (2024)
Top Articles
Is Pinterest Stock a Buy? | The Motley Fool
Windows Server Essentials 2012/2012 R2 Log Files
Cpmc Mission Bernal Campus & Orthopedic Institute Photos
Great Clips Mount Airy Nc
Ets Lake Fork Fishing Report
Aadya Bazaar
Vaya Timeclock
A Complete Guide To Major Scales
Tanger Outlets Sevierville Directory Map
Oppenheimer & Co. Inc. Buys Shares of 798,472 AST SpaceMobile, Inc. (NASDAQ:ASTS)
Ncaaf Reference
Grand Park Baseball Tournaments
What is a basic financial statement?
Hallelu-JaH - Psalm 119 - inleiding
Current Time In Maryland
Mile Split Fl
Bend Pets Craigslist
25Cc To Tbsp
Powerball winning numbers for Saturday, Sept. 14. Check tickets for $152 million drawing
Bank Of America Financial Center Irvington Photos
Keurig Refillable Pods Walmart
Viha Email Login
Catherine Christiane Cruz
The EyeDoctors Optometrists, 1835 NW Topeka Blvd, Topeka, KS 66608, US - MapQuest
Craigslist Northfield Vt
Craiglist.nj
Robotization Deviantart
Cinema | Düsseldorfer Filmkunstkinos
Gopher Hockey Forum
Kristy Ann Spillane
In hunt for cartel hitmen, Texas Ranger's biggest obstacle may be the border itself (2024)
Rays Salary Cap
Mrstryst
MethStreams Live | BoxingStreams
Lucky Larry's Latina's
Tendermeetup Login
Craigslist Georgia Homes For Sale By Owner
Bella Thorne Bikini Uncensored
Second Chance Apartments, 2nd Chance Apartments Locators for Bad Credit
Ferguson Showroom West Chester Pa
O'reilly's El Dorado Kansas
All Characters in Omega Strikers
Pekin Soccer Tournament
Ds Cuts Saugus
Breaking down the Stafford trade
Swsnj Warehousing Inc
My Gsu Portal
Egg Inc Wiki
Used Sawmill For Sale - Craigslist Near Tennessee
18 Seriously Good Camping Meals (healthy, easy, minimal prep! )
St Als Elm Clinic
Latest Posts
Article information

Author: Frankie Dare

Last Updated:

Views: 5882

Rating: 4.2 / 5 (53 voted)

Reviews: 92% of readers found this page helpful

Author information

Name: Frankie Dare

Birthday: 2000-01-27

Address: Suite 313 45115 Caridad Freeway, Port Barabaraville, MS 66713

Phone: +3769542039359

Job: Sales Manager

Hobby: Baton twirling, Stand-up comedy, Leather crafting, Rugby, tabletop games, Jigsaw puzzles, Air sports

Introduction: My name is Frankie Dare, I am a funny, beautiful, proud, fair, pleasant, cheerful, enthusiastic person who loves writing and wants to share my knowledge and understanding with you.