DSA Factory
Free The transport layer lessonsThe transport layer · Stage 0 · Between processes · Step 1

Ports, sockets and UDP

See how one machine's many programs share one IP address, what UDP adds to IP, and when that is enough. About 13 minutes.

Quick check

What does a destination port number identify?

  1. AWhich program (socket) on the destination machine should receive the data
  2. BWhich machine on the network
  3. CWhich route the packet takes
Show the answer

Which program (socket) on the destination machine should receive the data. The IP address chose the machine; the port chooses the application on it.

Lock it in

4 questions on this idea

Short questions that apply the idea to new cases: trace it, work out a number, put steps in order. A wrong answer explains itself.

Answer them in your browserFree account, no card. Your progress is saved, and the idea comes back in a quick review later.
Sign up free to solve