Title: The Transport Layer
1The Transport Layer
2The Transport Service
- Services provided to the application layer by
using the network layer service
3Transport Service
- The nesting of TPDUs, packets, and frames.
4Transport Service Primitives
- The primitives for a simple transport service.
5Berkeley Sockets
- The socket primitives for TCP.
6Elements of Transport Protocols
- Addressing
- Connection Establishment
- Connection Release
- Flow Control and Buffering
- Multiplexing
- Crash Recovery
7Addressing
- TSAPs, NSAPs and transport connections.
8Connection Establishment
- How a user process in host 1 establishes a
connection with a time-of-day server in host 2.
9Connection Establishment
- (a) TPDUs may not enter the forbidden region.
- (b) The resynchronization problem.
10Connection Establishment
Three protocol 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.
11Connection Release
- Abrupt disconnection with loss of data.
12Connection Release
6-14, a, b
- Four protocol scenarios for releasing a
connection. (a) Normal case of a three-way
handshake. (b) final ACK lost.
13Connection Release
6-14, c,d
- (c) Response lost. (d) Response lost and
subsequent DRs lost.
14Flow Control and Buffering
- Dynamic buffer allocation. The arrows show the
direction of transmission. An ellipsis ()
indicates a lost TPDU.
15Crash Recovery
- Different combinations of client and server
strategy.
16The Internet Transport Protocols UDP
- Remote Procedure Call
- The Real-Time Transport Protocol
17Introduction to UDP
18The Real-Time Transport Protocol
- (a) The position of RTP in the protocol stack.
(b) Packet nesting.
19The Real-Time Transport Protocol
20The Internet Transport Protocols TCP
- TCP Connection Establishment
- TCP Connection Release
- TCP Connection Management Modeling
- TCP Transmission Policy
- TCP Congestion Control
- TCP Timer Management
- Wireless TCP and UDP
- Transactional TCP
21The TCP Service Model
Port
Protocol
Use
21
FTP
File transfer
23
Remote login
Telnet
E-mail
25
SMTP
69
Trivial File Transfer Protocol
TFTP
Finger
Lookup info about a user
79
80
World Wide Web
HTTP
POP-3
110
Remote e-mail access
USENET news
119
NNTP
22The TCP Service Model
- (a) Four 512-byte segments sent as separate IP
datagrams. - (b) The 2048 bytes of data delivered to the
application in a single READ CALL.
23The TCP Segment Header
24The TCP Segment Header
- The pseudoheader included in the TCP checksum.
25TCP Connection Establishment
6-31
- (a) TCP connection establishment in the normal
case. - (b) Call collision.
26TCP Connection Management Modeling
- The states used in the TCP connection management
finite state machine.
27TCP Connection Management Modeling
TCP connection management finite state machine.
The heavy solid line is the normal path for a
client. The heavy dashed line is the normal path
for a server. The light lines are unusual
events. Each transition is labeled by the event
causing it and the action resulting from it,
separated by a slash.
28TCP Transmission Policy
- Window management in TCP.
29TCP Transmission Policy
30TCP Congestion Control
- An example of the Internet congestion algorithm.
31TCP Timer Management
- (a) Probability density of ACK arrival times in
the data link layer. - (b) Probability density of ACK arrival times for
TCP.
32Timeout Calculation
- Timeout is ßRTT
- RTTaRTT(1-a)M, a7/8
- Alternatively timeout is
- DaD(1-a)RTT-M
33Wireless TCP and UDP
- Splitting a TCP connection into two connections.
34Transitional TCP
- (a) RPC using normal TPC.
- (b) RPC using T/TCP.