Problem Statement
What are port numbers and why are they important in transport-layer communication?
Explanation
Port numbers identify specific processes or applications within a host. When data reaches a device, the port number determines which application should handle it. For example, HTTP uses port 80 and HTTPS uses 443. Ports allow multiple network services to run simultaneously on the same machine without conflict.
Practice Sets
This question appears in the following practice sets: