TCP and UDP
One area that is important to understand about networking is the two primary protocols that networked services can use: TCP and UDP. Services can listen on these ports using either of the protocol—and many a times do. TCP (frequently shown as TCP/IP) is used for connections that need things to be ordered specifically—for example, loading a web page. UDP, however, is a connectionless protocol; being connectionless means that UDP connections work like a fire hose of data moving from one IP address (the source address) to another (the destination address). Because of the way the Internet works, though—it is a large packet-switched network—these packets don't always arrive in order. For something like loading a web page, this would be ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access