← Back to CoursesNetworking: Intermediate

Neuroanatomy Explorer

Drag to rotate · scroll to zoom · click regions to explore

View
Loading 3D model…

Click a region
to explore it

Memory Deck

Flip each card and rate whether you knew it. Your score is saved.

Term
Definition

Deck complete — score saved.

Match the Pairs

Match each term to its definition. Finish the board to earn your score.

All matched — score saved.

Concept Constellation

Every key idea in this course, mapped as an explorable 3D constellation. Drag to rotate, scroll to zoom, click a node.

Click a node to read its definition.

Transport Layer: TCP and UDP

Manual: General · Subject: Networking

Explore how transport protocols provide reliability, multiplexing, and application-oriented tradeoffs.

End-to-End Delivery

Transport layer role

The transport layer provides process-to-process communication using port numbers. It multiplexes traffic so many applications can share a single IP address.

🔑

TCP vs UDP

TCP emphasizes reliability, order, and congestion control. UDP emphasizes low overhead and low latency, leaving reliability to the application if needed.

TCP mechanics

TCP uses sequence numbers, acknowledgments, retransmissions, and flow control to provide a reliable byte stream. Connection setup is typically described as a 33-way handshake.

What is the purpose of a TCP sequence number?

Why might an application choose UDP instead of TCP?

TCP vs UDP

FeatureTCPUDP
Connection setupYesNo
ReliabilityYesNo built-in
OrderingYesNo guarantee
OverheadHigherLower

Which TCP mechanism helps prevent a fast sender from overwhelming a slow receiver?

When to think TCP first

  1. 1

    Step 1: Ask whether the application needs reliable delivery.

  2. 2

    Step 2: Determine whether message ordering matters.

  3. 3

    Step 3: Consider whether connection setup overhead is acceptable.

  4. 4

    Step 4: Select UDP only if the application can handle loss or latency-sensitive behavior.

What does the 33-way handshake establish?