Information about Transport Layer
| OSI Model | |
|---|---|
| 7 | Application layer |
| 6 | Presentation layer |
| 5 | Session layer |
| 4 | Transport layer |
| 3 | Network layer |
| 2 | Data link layer |
| 1 | Physical layer |
A transport protocol is a protocol on the transport layer. The two most widely used transport protocols on the Internet are the connection oriented TCP (Transmission Control Protocol), and UDP (User Datagram Protocol). TCP is the more complicated and most common. Other options are the Datagram Congestion Control Protocol (DCCP) and Stream Control Transmission Protocol (SCTP).
The transport layer is typically handled by processes in the host computer operational system, and not by routers and switches. The transport layer usually turns the unreliable and very basic service provided by the Network layer into a more powerful one.
In the TCP/IP model, 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, provides 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 service, and does not provide virtual circuits, nor reliable communication, leaving these to the application. The UDP packets are called datagrams rather than segments.
TCP is used for 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 therefor often used for realtime 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.
In the OSI/X.25 protocol suite, there are five classes of the OSI transport protocol, ranging from class 0 (which is also known as TP0 and provides the least error recovery) to class 4 (which is also known as TP4 and is designed for less reliable networks, similar to the Internet).
List of transport layer services
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 want all the services available. Some can be wasted overhead, or even counterproductive in some cases.- Connection-oriented: This is normally easier to deal with than connection-less models, so where the Network layer only provides a connection-less service, often a connection-oriented service is built on top of that in the Transport layer.
- Same Order Delivery: The Network layer doesn't generally guarantee that packets of data will arrive in the same order that they were sent, but often this is a desirable feature, so the Transport layer provides it. The simplest way of doing this is to give each packet a number, and allow the receiver to reorder the packets.
- Reliable Data: Packets may be lost in routers, switches, bridges and hosts due to network congestion, when the packet queues are filled and the network nodes have to delete packets. Packets may be lost or corrupted in for example Ethernet due to interference and noise, since Ethernet does not retransmit corrupt packets. Packets may be delivered in the wrong order by an underlying network. Some transport layer protocols, for example TCP, can fix this. By means of an error detection code, for example a checksum, the transport protocol may check that the data is not corrupted, and verify that by sending an ACK message to the sender. Automatic repeat request schemes may be used to retransmit lost or corrupted data. By introducing segment numbering in the transport layer packet headers, the packets can be sorted in order. Of course, error free is impossible, but it is possible to substantially reduce the numbers of undetected errors.
- Flow Control: The amount of memory on a computer is limited, and without flow control a larger computer might flood a computer with so much information that it can't hold it all before dealing with it. Nowadays, this is not a big issue, as memory is cheap while bandwidth is comparatively expensive, but in earlier times it was more important. Flow control allows the receiver to say "Whoa!" before it is overwhelmed. Sometimes this is already provided by the network, but where it is not, the Transport layer may add it on.
- Congestion avoidance: Network congestion occurs when a queue buffer of a network node is full and starts to drop packets. Automatic repeat request may keep the network in a congested state. This situation can be avoided by adding congestion avoidance to the flow control, including slow-start. This keeps the bandwidth consumption at a low level in the beginning of the transmission, or after packet retransmission.
- Byte orientation: Rather than dealing with things on a packet-by-packet basis, the Transport layer may add the ability to view communication just as a stream of bytes. This is nicer to deal with than random packet sizes, however, it rarely matches the communication model which will normally be a sequence of messages of user defined sizes.
- Ports: (Part of the transport layer in the TCP/IP model, but of the session layer in the OSI model) Ports are essentially ways to address multiple entities in the same location. For example, the first line of a postal address is a kind of port, and distinguishes between different occupants of the same house. Computer applications will each listen for information on their own ports, which is why you can use more than one network-based application at the same time.
Transport protocol comparison table
| UDP | TCP | DCCP | SCTP | |
|---|---|---|---|---|
| Packet header size | 8 Bytes | 20 Bytes | Varies | 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 |
Examples
- AEP, AppleTalk Echo Protocol
- ATP, AppleTalk Transaction Protocol
- CUDP, Cyclic UDP
- DCCP, Datagram Congestion Control Protocol
- FCP, Fiber Channel Protocol
- FCIP, Fiber Channel over TCP/IP
- IL, IL Protocol
- iSCSI, Internet Small Computer System Interface
- NBP, Name Binding Protocol
- NBF, NetBIOS Frames Protocol
- SPX, Sequenced Packet Exchange
- RTMP, Routing Table Maintenance Protocol
- SCTP, Stream Control Transmission Protocol
- SCSI, Small Computer System Interface
- TCP, Transmission Control Protocol
- UDP, User Datagram Protocol
Open Systems Interconnection Basic Reference Model (OSI Reference Model or OSI Model for short) is a layered, abstract description for communications and computer network protocol design, developed as part of the Open Systems Interconnection (OSI) initiative.
..... Click the link for more information.
..... Click the link for more information.
application layer is the seventh level of the seven-layer OSI model. It interfaces directly to and performs common application services for the application processes; it also issues requests to the presentation layer.
..... Click the link for more information.
..... Click the link for more information.
presentation layer is the sixth level of the seven layer OSI model. It responds to service requests from the application layer and issues service requests to the session layer.
..... Click the link for more information.
..... Click the link for more information.
session layer is level five of the seven level OSI model. It responds to service requests from the presentation layer and issues service requests to the transport layer.
The Session layer provides the mechanism for managing the dialogue between end-user application processes.
..... Click the link for more information.
The Session layer provides the mechanism for managing the dialogue between end-user application processes.
..... Click the link for more information.
network layer is the third layer out of seven in OSI model and the third layer out of five in TCP/IP model. In the TCP/IP reference model it is called the Internet layer.
..... Click the link for more information.
..... Click the link for more information.
data link layer is layer two of the seven-layer OSI model as well as of the five-layer TCP/IP reference model. It responds to service requests from the network layer and issues service requests to the physical layer.
..... Click the link for more information.
..... Click the link for more information.
..... Click the link for more information.
Media Access Control (MAC) data communication protocol sub-layer, also known as the Medium Access Control, is a part of the data link layer specified in the seven-layer OSI model (layer 2).
..... Click the link for more information.
..... Click the link for more information.
physical layer is level one in the seven-level OSI model of computer networking as well as in the five-layer TCP/IP reference model. It performs services requested by the data link layer.
..... Click the link for more information.
..... Click the link for more information.
computing is synonymous with counting and calculating. Originally, people that performed these functions were known as computers. Today it refers to a science and technology that deals with the computation and the manipulation of symbols.
..... Click the link for more information.
..... Click the link for more information.
Telecommunication is the transmission of signals over a distance for the purpose of communication. In modern times, this process typically involves the sending of electromagnetic waves by electronic transmitters, but in earlier times telecommunication may have involved the use of
..... Click the link for more information.
..... Click the link for more information.
The TCP/IP model or Internet reference model, sometimes called the DoD model (DoD, Department of Defense) ARPANET reference model, is a layered abstract description for communications and computer network protocol design.
..... Click the link for more information.
..... Click the link for more information.
application layer is the seventh level of the seven-layer OSI model. It interfaces directly to and performs common application services for the application processes; it also issues requests to the presentation layer.
..... Click the link for more information.
..... Click the link for more information.
network layer is the third layer out of seven in OSI model and the third layer out of five in TCP/IP model. In the TCP/IP reference model it is called the Internet layer.
..... Click the link for more information.
..... Click the link for more information.
Open Systems Interconnection Basic Reference Model (OSI Reference Model or OSI Model for short) is a layered, abstract description for communications and computer network protocol design, developed as part of the Open Systems Interconnection (OSI) initiative.
..... Click the link for more information.
..... Click the link for more information.
session layer is level five of the seven level OSI model. It responds to service requests from the presentation layer and issues service requests to the transport layer.
The Session layer provides the mechanism for managing the dialogue between end-user application processes.
..... Click the link for more information.
The Session layer provides the mechanism for managing the dialogue between end-user application processes.
..... Click the link for more information.
network layer is the third layer out of seven in OSI model and the third layer out of five in TCP/IP model. In the TCP/IP reference model it is called the Internet layer.
..... Click the link for more information.
..... Click the link for more information.
protocol is a convention or standard that controls or enables the connection, communication, and data transfer between two computing endpoints. In its simplest form, a protocol can be defined as the rules governing the syntax, semantics, and synchronization of communication.
..... Click the link for more information.
..... Click the link for more information.
The Transmission Control Protocol (TCP) is one of the core protocols of the Internet protocol suite. TCP provides reliable, in-order delivery of a stream of bytes, making it suitable for applications like file transfer and e-mail.
..... Click the link for more information.
..... Click the link for more information.
User Datagram Protocol (UDP) is one of the core protocols of the Internet protocol suite. Using UDP, programs on networked computers can send short messages sometimes known as datagrams (using Datagram Sockets) to one another.
..... Click the link for more information.
..... Click the link for more information.
The Datagram Congestion Control Protocol (DCCP) is a message-oriented transport layer protocol.
Applications that might make use of DCCP include those with timing constraints on the delivery of data such that reliable in-order delivery, when combined with congestion
..... Click the link for more information.
Applications that might make use of DCCP include those with timing constraints on the delivery of data such that reliable in-order delivery, when combined with congestion
..... Click the link for more information.
Stream Control Transmission Protocol (SCTP) as a transport layer protocol in 2002. RFC 2960 defines the protocol, with RFC 3286 providing an introductory text.
As a transport protocol, SCTP operates analogously to TCP or UDP.
..... Click the link for more information.
As a transport protocol, SCTP operates analogously to TCP or UDP.
..... Click the link for more information.
Statistical multiplexing is a type of communication link sharing. In statistical multiplexing, a communication channel is divided into an arbitrary number of variable bit-rate digital channels or data streams.
..... Click the link for more information.
..... Click the link for more information.
An Internet socket (or commonly, a socket or network socket), is a communication end-point unique to a machine communicating on an Internet Protocol-based network, such as the Internet.
..... Click the link for more information.
..... Click the link for more information.
session layer is level five of the seven level OSI model. It responds to service requests from the presentation layer and issues service requests to the transport layer.
The Session layer provides the mechanism for managing the dialogue between end-user application processes.
..... Click the link for more information.
The Session layer provides the mechanism for managing the dialogue between end-user application processes.
..... Click the link for more information.
In telecommunications and computer networks, a virtual circuit (VC), synonymous to virtual connection and virtual channel, is a connection oriented communication service that is delivered by means of packet mode communication.
..... Click the link for more information.
..... Click the link for more information.
In telecommunications, connection-oriented describes a means of transmitting data in which the devices at the end points use a preliminary protocol to establish an end-to-end connection before any data is sent, and in which data is sent over the same path during the communication.
..... Click the link for more information.
..... Click the link for more information.
- :::For uses of the word "Packet" outside Information Technology, see Packet
In information technology, a packet is a formatted block of data carried by a packet mode computer network.
..... Click the link for more information.
In mathematics, computer science, telecommunication, and information theory, error detection and correction has great practical importance in maintaining data (information) integrity across noisy channels and less-than-reliable storage media.
..... Click the link for more information.
..... Click the link for more information.
Automatic Repeat-reQuest (ARQ) is an error control method for data transmission which uses acknowledgments and timeouts to achieve reliable data transmission. An acknowledgment is a message sent by the receiver to the transmitter to indicate that it has correctly received a
..... Click the link for more information.
..... Click the link for more information.
This article is copied from an article on Wikipedia.org - the free encyclopedia created and edited by online user community. The text was not checked or edited by anyone on our staff. Although the vast majority of the wikipedia encyclopedia articles provide accurate and timely information please do not assume the accuracy of any particular article. This article is distributed under the terms of GNU Free Documentation License.
Herod_Archelaus