background image
OSI Transport Layer Functions 87
As with OSI Layers 1 and 2 (physical and data link, respectively), the lower layers of each stack
simply refer to other well-known specifications. For example, the lower layers all support the
IEEE standards for Ethernet and Token Ring, the ANSI standard for FDDI, the ITU standard
for ISDN, and the Frame Relay protocols specified by the Frame Relay Forum, ANSI, and the
ITU. The protocol stacks can accommodate other evolving Layer 1 and Layer 2 specifications
more easily by referring to emerging international standards rather than trying to evolve these
standards themselves.
OSI Transport Layer Functions
The transport layer (Layer 4) defines several functions. Two important features covered in this
chapter are error recovery and flow control. Routers discard packets for many reasons,
including bit errors, congestion that has caused a lack of buffer space, and instances in which
no correct routes are known. The transport layer can provide for retransmission (error recovery)
and can help avoid congestion (flow control).
Transport layer protocols are typically categorized as either connectionless or connection-
oriented, so CCNAs deal with the concepts of connectionless and connection-oriented
protocols on a regular basis. This next section compares the two and provides some explanation
for the functions of each. Error recovery and flow control are covered in the section "How Error
Recovery Is Accomplished."
Connection-Oriented Versus Connectionless Protocols
The terms connection-oriented and connectionless have some relatively well-known
connotations inside the world of networking protocols. However, the typical connotation can be
a bit misleading. For instance, most people correlate connection-oriented protocols with
reliable or error-recovering protocols because the two features are often implemented by a
single protocol. However, connection-oriented protocols do not have to provide error recovery,
and error-recovering protocols do not have to be connection-oriented.
First, some basic definitions are in order:
Connection-oriented protocol: A protocol that either requires an exchange of messages
before data transfer begins or has a required pre-established correlation between two
endpoints.
Connectionless protocol: A protocol that does not require an exchange of messages and
that does not require a pre-established correlation between two endpoints.
The definitions are sufficiently general so that all cases can be covered. TCP is connection-
oriented because a set of three messages must be completed before data is exchanged. Likewise,
SPX is connection-oriented. Frame Relay, when using PVCs, does not require any messages be
sent ahead of time, but it does require predefinition in the Frame Relay switches, establishing a
ch03.fm Page 87 Monday, March 20, 2000 4:58 PM