MobDojoStart learning free

Mobile Networking · Course 1

How Apps Talk

Packets, addresses, DNS and ports: how data finds its way.

5 lessons62 min totalBadge: Packet Pusher

About this course

Every time an app loads something, your phone breaks the data into packets, looks up the server's address and sends each packet to the right program on the right machine. IP addresses, DNS and port numbers are the pieces that make this work. They also explain what network logs can and can't reveal, such as who talked to whom even when the contents are encrypted.

In the labs you'll send a chat message and inspect the packets it becomes, then watch a DNS lookup travel from your phone's resolver to the root, the top-level domain and the server that holds the answer. You'll learn public and private addresses, how ports and the TCP, UDP and QUIC protocols differ, and how NAT lets a whole house, or many of a carrier's customers, share one public address. The final challenge follows one news app session from the first name lookup to a shared address on mobile data.

Lessons

Hands-on

Do it on the simulated phone

Lessons have labs you can try in your browser, plus questions that earn points toward the Packet Pusher badge.

Start lesson 1