The services in the OSI protocol stack (layer 4 of 7) that provide end-to-end management of the communications session. See transport protocol and OSI.
Download Computer Desktop Encyclopedia to your iPhone/iTouch
| Computer Desktop Encyclopedia: transport layer |
The services in the OSI protocol stack (layer 4 of 7) that provide end-to-end management of the communications session. See transport protocol and OSI.
Download Computer Desktop Encyclopedia to your iPhone/iTouch
| 5min Related Video: Transport Layer |
| Wikipedia: Transport Layer |
In computer networking, the Transport Layer is a group of methods and protocols within a layered architecture of network components within which it is responsible for encapsulating application data blocks into data units (datagrams, segments) suitable for transfer to the network infrastructure for transmission to the destination host, or managing the reverse transaction by abstracting network datagrams and delivering their payload to an application. Thus the protocols of the Transport Layer establish a direct, virtual host-to-host communications transport medium for applications and therefore also referred to as transport protocols.
Transport layers are contained in both the TCP/IP model (RFC 1122),[1] which is the foundation of the Internet, and the Open Systems Interconnection (OSI) model of general networking. The definitions of the Transport Layer are slightly different in these two models. This article primarily refers to the TCP/IP model. See also the OSI model definition of the Transport Layer.
The most well-known transport protocol is the Transmission Control Protocol (TCP). It lent its name to the title of the entire Internet Protocol Suite, TCP/IP. It is used for connection-oriented transmissions, whereas the connectionless User Datagram Protocol (UDP) is used for simpler messaging transmissions. TCP is the more complex protocol, due to its stateful design incorporating reliable transmission. Other prominent protocols in this group are the Datagram Congestion Control Protocol (DCCP) and the Stream Control Transmission Protocol (SCTP).
| The Internet Protocol Suite | |
|---|---|
| Application Layer | |
| BGP · DHCP · DNS · FTP · GTP · HTTP · IMAP · IRC · Megaco · MGCP · NNTP · NTP · POP · RIP · RPC · RTP · RTSP · SDP · SIP · SMTP · SNMP · SOAP · SSH · Telnet · TLS/SSL · XMPP · (more) | |
| Transport Layer | |
| TCP · UDP · DCCP · SCTP · RSVP · ECN · (more) | |
| Internet Layer | |
| IP (IPv4, IPv6) · ICMP · ICMPv6 · IGMP · IPsec · (more) | |
| Link Layer | |
| ARP · RARP · NDP · OSPF · Tunnels (L2TP) · PPP · Media Access Control (Ethernet, MPLS, DSL, ISDN, FDDI) · (more) | |
Contents |
The Transport Layer is responsible for delivering data to the appropriate application process on the host computers. This involves statistical multiplexing of data from different application processes, i.e. forming data packets, and adding source and destination port numbers in the header of each Transport Layer data packet. Together with the source and destination IP address, the port numbers constitutes a network socket, i.e. an identification address of the process-to-process communication. In the OSI model, this function is supported by the Session Layer.
Some Transport Layer protocols, for example TCP, but not UDP, support virtual circuits, i.e. provide connection oriented communication over an underlying packet oriented datagram network. A byte-stream is delivered while hiding the packet mode communication for the application processes. This involves connection establishment, dividing of the data stream into packets called segments, segment numbering and reordering of out-of order data.
Finally, some Transport Layer protocols, for example TCP, but not UDP, provide end-to-end reliable communication, i.e. error recovery by means of error detecting code and automatic repeat request (ARQ) protocol. The ARQ protocol also provides flow control, which may be combined with congestion avoidance.
UDP is a very simple protocol, and does not provide virtual circuits, nor reliable communication, delegating these functions to the application program. UDP packets are called datagrams, rather than segments.
TCP is used for many protocols, including HTTP web browsing and email transfer. UDP may be used for multicasting and broadcasting, since retransmissions are not possible to a large amount of hosts. UDP typically gives higher throughput and shorter latency, and is therefore often used for real-time multimedia communication where packet loss occasionally can be accepted, for example IP-TV and IP-telephony, and for online computer games.
In many non-IP-based networks, for example X.25, Frame Relay and ATM, the connection oriented communication is implemented at network layer or data link layer rather than the Transport Layer. In X.25, in telephone network modems and in wireless communication systems, reliable node-to-node communication is implemented at lower protocol layers.
The OSI Model defines five classes of transport protocols, TP0, providing the least error recovery, to TP4, which is designed for less reliable networks.
| OSI Model | |
|---|---|
| 7 | Application Layer |
| 6 | Presentation Layer |
| 5 | Session Layer |
| 4 | Transport Layer |
| 3 | Network Layer |
| 2 | Data Link Layer |
| 1 | Physical Layer |
There is a long list of services that can be optionally provided by the Transport Layer. None of them are compulsory, because not all applications require all available services.
| UDP | TCP | DCCP | SCTP | |
|---|---|---|---|---|
| Packet header size | 8 Bytes | 20-60 Bytes | 12 or 16 bytes | 12 Bytes + Variable Chunk Header |
| Transport Layer packet entity | Datagram | Segment | Datagram | Datagram |
| Port numbering | Yes | Yes | Yes | Yes |
| Error detection | Optional | Yes | Yes | Yes |
| Reliability: Error recovery by automatic repeat request (ARQ) | No | Yes | No | Yes |
| Virtual circuits: Sequence numbering and reordering | No | Yes | Yes | Optional |
| Flow control | No | Yes | Yes | Yes |
| Congestion avoidance: Variable congestion window, slow start, time outs | No | Yes | Yes | Yes |
| Multiple streams | No | No | No | Yes |
| ECN support | No | Yes | Yes | Yes |
The OSI model defines five classes of connection-mode transport protocols designated class 0 (TP0) to class 4 (TP4). Class 0 contains no error recovery, and was designed for use on network layers that provide error-free connections. Class 4 is closest to TCP, although TCP contains functions, such as the graceful close, which OSI assigns to the Session Layer. All OSI connection-mode protocol classes provide expedited data and preservation of record boundaries. Detailed characteristics of the classes are shown in the following table:[2]
| Feature Name | TP0 | TP1 | TP2 | TP3 | TP4 |
|---|---|---|---|---|---|
| Connection oriented network | Yes | Yes | Yes | Yes | Yes |
| Connectionless network | No | No | No | No | Yes |
| Concatenation and separation | No | Yes | Yes | Yes | Yes |
| Segmentation and reassembly | Yes | Yes | Yes | Yes | Yes |
| Error Recovery | No | Yes | No | Yes | Yes |
| Reinitiate connection (if an excessive number of PDUs are unacknowledged) | No | Yes | No | Yes | No |
| multiplexing and demultiplexing over a single virtual circuit | No | No | Yes | Yes | Yes |
| Explicit flow control | No | No | Yes | Yes | Yes |
| Retransmission on timeout | No | No | No | No | Yes |
| Reliable Transport Service | No | Yes | No | Yes | Yes |
| This article is in need of attention from an expert on the subject. WikiProject Computer networking or the Computer networking Portal may be able to help recruit one. (February 2009) |
This entry is from Wikipedia, the leading user-contributed encyclopedia. It may not have been reviewed by professional editors (see full disclaimer)
| XTI (technology) | |
| transport (technology) | |
| SHTTP (technology) |
| What are the functions of transport layer? Read answer... | |
| What distinguishes the Transport layer from the Session layer? Read answer... | |
| The PDU at the Transport layer is called? Read answer... |
| What is transport layer including reliability? | |
| Transport layer protocols? | |
| Identify the role of transport layer? |
Copyrights:
![]() | Computer Desktop Encyclopedia. THIS COPYRIGHTED DEFINITION IS FOR PERSONAL USE ONLY. All other reproduction is strictly prohibited without permission from the publisher. © 1981-2009 Computer Language Company Inc. All rights reserved. Read more | |
![]() | Wikipedia. This article is licensed under the Creative Commons Attribution/Share-Alike License. It uses material from the Wikipedia article "Transport Layer". Read more |
Mentioned in