Networking Prep
Overview
We’re now going to turn our attention to a (very) brief introduction to how the internet works. In particular, how systems can send and receive messages outside of their own processes.
Basic Learning Objectives
Before class, you should be able to:
- Explain the high level difference between UDP and TCP
- Explain why packet loss is inevitable
Advanced Learning Objectives
After class, you should be able to:
- Implement a basic socket-based client
Resources
Read the following:
- Sec 48.1-48.3 of OSTEP: Networking Basics
Checks
Submit to Moodle answers to the following (they aren’t very exciting, sorry):
- Why is packet loss inevitable?
- How does UDP deal with packet loss?
- How does TCP deal with packet loss?