Multiplexing & Demultiplexing in UDP

Connectionless refers to multiplexing and demultiplexing with UDP. Let's dive right in.

Ports

Here’s a quick refresher on what ports are because that needs to be crystal clear in order for you to understand multiplexing and demultiplexing.

  • Sockets, which are gateways to applications, are identified by a combination of an IP address and a 16-bit port number. That means 216=655362^{16}= 65536 port numbers exist. However, they start from port 00 so they exist in the range of 0655350-65535.

Get hands-on with 1200+ tech skills courses.