Chapter 3 PPT: Transport Layer

0.0(0)
Studied by 0 people
call kaiCall Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/7

encourage image

There's no tags or description

Looks like no tags are added yet.

8 Terms

1
New cards

What are the main functions of the transport layer?

  • Provides logical communication between application processes on different hosts

  • Sender: Breaks application messages into segments → network layer

  • Receiver: Reassembles segments into messages → application layer

  • Two Internet transport protocols:

    • TCP

    • UDP

Recall: Transport layer = process-to-process communication + segmentation and reassembly.

2
New cards

What is the difference between network and transport layer services?

  • Network layer: Logical communication between hosts

  • Transport layer: Logical communication between processes

    • Relies on and enhances network layer services

Recall – Household analogy:

  • Hosts = Houses

  • Processes = Kids

  • Application messages = Letters in envelopes


3
New cards

What are the main transport layer actions at the sender and receiver?

- Sender:

  • Receives application message

  • Determines segment header values

  • Creates segment → passes to IP

- Receiver:

  • Receives segment from IP

  • Checks header values

  • Extracts application message

  • Demultiplexes message to application via socket

Recall: Sender = creates segments | Receiver = extracts and delivers messages.

4
New cards

What are the two principal Internet transport protocols and their services?

- TCP (Transmission Control Protocol):

  • Reliable, in-order delivery

  • Congestion control

  • Flow control

  • Connection setup

- UDP (User Datagram Protocol):

  • Unreliable, unordered delivery

  • No-frills extension of best-effort IP

- Neither provides:

  • Delay guarantees

  • Bandwidth guarantees

Recall: TCP = reliable + connection-oriented | UDP = unreliable + connectionless.

5
New cards

What are transport layer multiplexing and demultiplexing?

- Multiplexing (sender):

  • Handles data from multiple sockets

  • Adds transport header information

- Demultiplexing (receiver):

  • Uses header information to deliver received segments to the correct socket

Recall: Multiplexing = combines data | Demultiplexing = delivers data to correct socket.

6
New cards

How does transport layer demultiplexing work?

  • Host receives IP datagrams, each containing:

    • Source and destination IP addresses

    • One transport-layer segment

    • Source and destination port numbers

  • Uses IP addresses + port numbers to deliver segment to the correct socket

Recall: Demultiplexing = uses IP addresses and port numbers to identify the correct socket.

Happens at all layers.

7
New cards

How does connectionless (UDP) demultiplexing work?

  • Socket creation: Specify a host-local port number

  • Sender: Specifies destination IP address + port number

  • Receiver: Checks destination port number and delivers segment to matching socket

  • Segments with the same destination port go to the same socket, even if source IPs or ports differ

Recall: UDP demultiplexing = destination port number only.

8
New cards

How does connection-oriented (TCP) demultiplexing work?

  • Each TCP socket identified by a 4-tuple:

    • Source IP address + source port

    • Destination IP address + destination port

  • Server supports multiple simultaneous TCP sockets

    • Each socket has a unique 4-tuple

    • Each associated with a different client

  • Receiver uses all 4 values to deliver segment to correct socket

Recall: TCP demultiplexing = uses all 4 values (source/destination IP + port).