23-1 PROCESS-TO-PROCESSDELIVERY
The transportlayer is responsible for process-to-
process delivery—the delivery of a packet, part of a
message, from one process to another. Two processes
communicate in a client/server relationship, as we will
see later.
Topics discussed in this section:
Client/Server Paradigm
Multiplexing and Demultiplexing
Connectionless Versus Connection-Oriented Service
Reliable Versus Unreliable
Three Protocols
23.2
Transport Service Primitives(3)
A state diagram for a simple connection management scheme.
Transitions labelled in italics are caused by packet arrivals. The
solid lines show the client's state sequence. The dashed lines show
the server's state sequence.
8.
Elements of TransportProtocols
a)Addressing
b)Connection Establishment
c)Connection Release
d)Flow Control and Buffering
e)Multiplexing
f)Crash Recovery
9.
Transport Protocol
(a) Environmentof the data link layer.
(b) Environment of the transport layer.
Both data link layer and transport layer do error control, flow control,
sequencing. The differences are:
1. Storage capacity in subnet. Frames must arrive sequentially,
TPDUs can arrive in any sequence.
2. Frames are delivered to hosts, TPDUs need to be delivered to
users, so per user addressing and flow control within the hosts is
necessary.
Connection Establishment (2)
Threeprotocol scenarios for establishing a connection using a
three-way handshake. CR denotes CONNECTION REQUEST.
(a) Normal operation,
(b) Old CONNECTION REQUEST appearing out of nowhere.
(c) Duplicate CONNECTION REQUEST and duplicate ACK.
The Internet TransportProtocols: UDP
•Introduction to UDP
•Remote Procedure Call
•The Real-Time Transport Protocol
18.
23-2 USERDATAGRAM PROTOCOL(UDP)
TheUser Datagram Protocol (UDP) is called a
connectionless, unreliable transport protocol. It does
not add anything to the services of IP except to provide
process-to-process communication instead of host-to-
host communication.
Topics discussed in this section:
Well-Known Ports for UDP
User Datagram
Checksum
UDP
Operation Use
of UDP
23.18
The Real-Time TransportProtocol
(a) The position of RTP in the protocol
stack. (b) Packet nesting.
26.
The Real-Time TransportProtocol (2)
The RTP header. X indicated the presence of an extension header.
CC says how many contributing sources are present (0 to 15).
Syn. Source Id. tells which stream the packet belongs to.
For feedback information is used an associated protocol called
RTCP (Real Time Control Protocol)
27.
23-3 TCP
TCP isa connection-oriented protocol; it creates a
virtual connection between two TCPs to send data. In
addition, TCP uses flow and error control mechanisms
at the transport level.
Topics discussed in this section:
TCP Services
TCP
Features
Segment
A TCP
Connection Flow
Control Error
23.27
The bytes ofdata being transferred in
each connection are numbered by TCP.
The numbering starts with a randomly
generated number.
Note
23.30
31.
The value inthe sequence number field
of a segment defines the
number of the first data byte
contained in that segment.
Note
23.31
32.
The value ofthe acknowledgment field
in a segment defines
the number of the next byte a party
expects to receive.
The acknowledgment number is
cumulative.
Note
23.32
A sliding windowis used to make
transmission more efficient as well as
to control the flow of data so that the
destination does not become
overwhelmed with data.
TCP sliding windows are byte-
oriented.
Note
23.45