Transport Layer

0.0(0)
studied byStudied by 0 people
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
Card Sorting

1/15

encourage image

There's no tags or description

Looks like no tags are added yet.

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

16 Terms

1
New cards

What are the two main functions of the Transport Layer?

1) Delivers segments/datagrams via the Network Layer 2) Passes received payloads to the correct application using port numbers.

2
New cards

What range defines well-known ports?

0-1023 (e.g., HTTP=80, HTTPS=443), maintained by IANA.

3
New cards

How does TCP establish a connection?

Three-way handshake: SYN → SYN-ACK → ACK with random sequence numbers for synchronization.

4
New cards

What four reliability mechanisms does TCP provide?

1) Acknowledgments 2) Retransmission timeouts 3) Flow control (sliding window) 4) Congestion control.

5
New cards

What are key characteristics of UDP?

Connectionless, no retransmissions/flow control, optional checksum, low overhead, supports multicast.

6
New cards

How does TCP flow control work?

Receiver advertises available buffer space via sliding window; sender limits data to this window size.

7
New cards

What is the purpose of TCP's congestion window?

Limits sender’s transmission rate based on network capacity, starting with slow start (doubling per RTT).

8
New cards

Why might video streaming prefer UDP over TCP?

UDP avoids buffering delays from TCP’s retransmissions, allowing glitches instead of freezes (better for live streams).

9
New cards

Why does DNS primarily use UDP?

Lightweight queries/responses fit UDP’s simplicity; TCP is only used for large responses (>512 bytes).

10
New cards

What newer protocol uses UDP for HTTP/2?

QUIC, designed to reduce latency while maintaining reliability.

11
New cards

How does TCP handle packet loss?

Retransmits after timeout or duplicate ACKs, then reduces congestion window to mitigate network strain.

12
New cards

What identifies a unique communication endpoint?

Socket: IP address + port + protocol (TCP/UDP) – e.g., (192.168.1.1:80, TCP).

13
New cards

What happens when a TCP receiver advertises a window size of 0?

Sender pauses transmission but may send 1-byte probes to check for reopened window.

14
New cards

Compare TCP and UDP header overhead.

TCP: 20+ bytes (seq/ack numbers, flags, windows). UDP: 8 bytes (ports, length, checksum).

15
New cards

When might an application use both TCP and UDP?

Video conferencing: TCP for signaling/control, UDP for real-time audio/video streams.

16
New cards

What transport protocol is inherent to HTTP/3?

QUIC, running over UDP to combine reliability with reduced handshake latency.