Session 5 of Software Lessons, “Networking 102: TCP, UDP and Bandwidth,” runs about 35 minutes.
What this session covers
- IP packets and data flow
- ISPs, download versus upload speeds
- Signal waves
- Ping versus bandwidth
- Transport and delivery
- UDP
- TCP
- Broadcast
- Multicast
Key ideas
- Data crosses a network as packets, small chunks that each carry an address and may take different routes.
- Bandwidth is how much data can be sent per unit of time, while ping measures how long a round trip takes, so a connection can have high bandwidth and still be slow to respond.
- TCP sets up a connection and retransmits lost data so it arrives complete and in order.
- UDP sends packets without that checking, which is faster and suits uses where speed matters more than perfect delivery.
- Broadcast sends to every device on a network, and multicast sends to a chosen group of receivers.