Home / Community / Stanford CS144 - Introduction to Computer Networks (Advanced)
Public

Stanford CS144 - Introduction to Computer Networks (Advanced)

Master core computer networking concepts from Stanford's CS144, including the TCP/IP stack, sliding window protocols, congestion control algorithms, and internet routing protocols.

20 accessible of 20 cards

Card Preview

20 accessible of 20 cards

A quick, read-only look at the deck content.

Term

Five-Layer TCP/IP Model

Definition

The standard architectural framework for computer networks:
1. Application: High-level network protocols (HTTP, DNS, FTP).
2. Transport: Host-to-host communication and multiplexing (TCP, UDP).
3. Network: Datagram routing across disparate networks (IP).
4. Link: Data transfer between adjacent network nodes (Ethernet, Wi-Fi).
5. Physical: Transmission of raw bits over physical media (copper, optical fiber, wireless).

Term

The End-to-End Principle

Definition

A foundational network architecture design guide stating that application-specific features (e.g., error checking, encryption, reliable delivery) should be implemented at the end hosts rather than in intermediate network nodes (routers), keeping the network core simple, stateless, and scalable.

Term

TCP 3-Way Handshake

Definition

The connection establishment phase in TCP:
1. Client Server: SYN packet sent with initial sequence number seq = x.
2. Server Client: SYN-ACK packet returned with seq = y and ack = x + 1.
3. Client Server: ACK packet sent with ack = y + 1.

Term

Go-Back-N (GBN) Protocol

Definition

A sliding window protocol where the sender can transmit up to unacknowledged packets. The receiver uses cumulative ACKs and discards out-of-order packets. If a loss timeout occurs, the sender retransmits all unacknowledged packets starting from the lost sequence number.

Term

Selective Repeat (SR) Protocol

Definition

A sliding window protocol where the receiver individually acknowledges each correctly received packet and buffers out-of-order frames. The sender maintains independent timers for each packet and retransmits only unacknowledged packets upon timeout.

Term

Sliding Window Channel Utilization Efficiency

Definition

While Stop-and-Wait utilization is , a sliding window protocol with window size increases sender utilization to:

where is packet length in bits and is link transmission rate in bps.

Term

Flow Control vs. Congestion Control

Definition

  • Flow Control: Prevents a fast sender from overwhelming a slow receiver. Managed via the TCP rwnd (Receive Window) header field.
  • Congestion Control: Prevents end hosts from overwhelming the intermediate network links/routers. Managed dynamically via cwnd (Congestion Window).

Term

TCP Maximum Allowed Data In-Flight

Definition

The maximum amount of unacknowledged data a TCP sender can transmit is bounded by the minimum of the congestion window and receive window: