Stanford / CS144已收录

Introduction to Computer Networking

从分组交换与 TCP 到拥塞控制、路由和安全,理解 Internet 的工作原理。

关于这组笔记

个人自学讲义,参考 Fall 2026 公开材料;后半部分结合网页中的待发布条目、样卷与 slides 单元列表重建,配套 Python 实验并非原课 C++ lab 答案。

查看原课程资料

适合的起点

建议熟悉 Python、比特与字节,以及进程和线程的基本概念。

本系列为个人学习整理,非学校官方发布,不代表学校或授课教师的认可或背书。

沿着目录阅读

当前 22 篇

课程讲义

  1. Lecture 01Lecture 1 · 课程导论:Internet 怎样工作,为什么这样设计 · Course Introduction
  2. Lecture 02Lecture 2 · 数据报、封装与多路复用 · Datagrams, Encapsulation, and Multiplexing
  3. Lecture 03Lecture 3 · 从不可靠到可靠 · Reliability from Unreliability
  4. Lecture 04Lecture 4 · 字节流与重组 · Byte Streams and Reassembly
  5. Lecture 05Lecture 5 · 序列号、握手与接收端 · Sequence Numbers, the Handshake, and the Receiver
  6. Lecture 06Lecture 6 · 滑动窗口与发送端 · Sliding Windows and the Sender
  7. Lecture 07Lecture 7 · TCP 的细节与历史 · TCP Particulars and History
  8. Lecture 08Lecture 8 · 分组交换 I:电路、分组与三种时延 · Packet Switching I: Circuits, Packets, and Three Delays
  9. Lecture 09Lecture 9 · 排队、统计复用与测量真实世界 · Queueing, Statistical Multiplexing, and Measuring the Real World
  10. Lecture 10Lecture 10 · 为什么需要拥塞控制 · Why Congestion Control?
  11. Lecture 11Lecture 11 · 拥塞控制控制什么 · What Does Congestion Control Control?
  12. Lecture 12Lecture 12 · 怎样做拥塞控制 · How Congestion Control Works
  13. Lecture 13Lecture 13 · 网络接口:以太网与 ARP · The Network Interface: Ethernet and ARP
  14. Lecture 14Lecture 14 · IP 路由器:最长前缀匹配 · The IP Router and Longest-Prefix Match
  15. Lecture 15Lecture 15 · 路由:Internet 怎样知道路 · Routing
  16. Lecture 16Lecture 16 · 家庭网络的时代之旅 I:从串口到家庭子网 · The Eras Tour of Home Networking, Part I
  17. Lecture 17Lecture 17 · 家庭网络的时代之旅 II:代理、NAT 与 P2P · The Eras Tour of Home Networking, Part II
  18. Lecture 18Lecture 18 · 应用:DNS、HTTP、QUIC、CDN · Applications: DNS, HTTP, QUIC, CDNs
  19. Lecture 19Lecture 19 · 物理层与弹性缓冲 · The Physical Layer and Elasticity Buffers
  20. Lecture 20Lecture 20 · Internet 安全的历史与威胁模型 · Internet Security: History and Threat Models
  21. Lecture 21Lecture 21 · Internet 安全:完整性、机密性、真实性 · Internet Security: Integrity, Confidentiality, Authenticity
  22. Lecture 22Lecture 22 · 造一个迷你 Internet + 全课复习 · Building a Mini Internet & Course Review

从讲义到代码

按课程目录整理的配套示例,保留各单元的文件结构。阅读讲义时,可以下载整套代码,在本地逐步探索。

下载 CS144 代码

请在独立虚拟环境中查看依赖后运行;未附模型权重和运行产物;示例未逐一验证。

返回全部课程