[Master Answer Logo]
Question

When should I use UDP instead of TCP?

Answer

IANA is responsible for assigning TCP and UDP port numbers to specific uses. The port numbers are divided into three ranges: the Well Known Ports, the Registered Ports, and the Dynamic and/or Private Ports.

— Source: Wikipedia (www.wikipedia.org)