The Transport Layer - PowerPoint PPT Presentation

About This Presentation
Title:

The Transport Layer

Description:

How a user process in host 1 establishes a connection with a time-of-day server in host 2. ... The states used in the TCP connection management finite state machine. ... – PowerPoint PPT presentation

Number of Views:29
Avg rating:3.0/5.0
Slides: 35
Provided by: steve1901
Category:

less

Transcript and Presenter's Notes

Title: The Transport Layer


1
The Transport Layer
2
The Transport Service
  • Services provided to the application layer by
    using the network layer service

3
Transport Service
  • The nesting of TPDUs, packets, and frames.

4
Transport Service Primitives
  • The primitives for a simple transport service.

5
Berkeley Sockets
  • The socket primitives for TCP.

6
Elements of Transport Protocols
  • Addressing
  • Connection Establishment
  • Connection Release
  • Flow Control and Buffering
  • Multiplexing
  • Crash Recovery

7
Addressing
  • TSAPs, NSAPs and transport connections.

8
Connection Establishment
  • How a user process in host 1 establishes a
    connection with a time-of-day server in host 2.

9
Connection Establishment
  • (a) TPDUs may not enter the forbidden region.
  • (b) The resynchronization problem.

10
Connection 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.
11
Connection Release
  • Abrupt disconnection with loss of data.

12
Connection Release
6-14, a, b
  • Four protocol scenarios for releasing a
    connection. (a) Normal case of a three-way
    handshake. (b) final ACK lost.

13
Connection Release
6-14, c,d
  • (c) Response lost. (d) Response lost and
    subsequent DRs lost.

14
Flow Control and Buffering
  • Dynamic buffer allocation. The arrows show the
    direction of transmission. An ellipsis ()
    indicates a lost TPDU.

15
Crash Recovery
  • Different combinations of client and server
    strategy.

16
The Internet Transport Protocols UDP
  • Remote Procedure Call
  • The Real-Time Transport Protocol

17
Introduction to UDP
  • The UDP header.

18
The Real-Time Transport Protocol
  • (a) The position of RTP in the protocol stack.
    (b) Packet nesting.

19
The Real-Time Transport Protocol
  • The RTP header.

20
The 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

21
The 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
  • Some assigned ports.

22
The 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.

23
The TCP Segment Header
  • TCP Header.

24
The TCP Segment Header
  • The pseudoheader included in the TCP checksum.

25
TCP Connection Establishment
6-31
  • (a) TCP connection establishment in the normal
    case.
  • (b) Call collision.

26
TCP Connection Management Modeling
  • The states used in the TCP connection management
    finite state machine.

27
TCP 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.
28
TCP Transmission Policy
  • Window management in TCP.

29
TCP Transmission Policy
  • Silly window syndrome.

30
TCP Congestion Control
  • An example of the Internet congestion algorithm.

31
TCP Timer Management
  • (a) Probability density of ACK arrival times in
    the data link layer.
  • (b) Probability density of ACK arrival times for
    TCP.

32
Timeout Calculation
  • Timeout is ßRTT
  • RTTaRTT(1-a)M, a7/8
  • Alternatively timeout is
  • DaD(1-a)RTT-M

33
Wireless TCP and UDP
  • Splitting a TCP connection into two connections.

34
Transitional TCP
  • (a) RPC using normal TPC.
  • (b) RPC using T/TCP.
Write a Comment
User Comments (0)
About PowerShow.com