Networking Ten Second Tech

TCP vs UDP

May 13, 2019

First, let’s break down the two acronyms. TCP means Transmission Control Protocol; UDP stands for User Datagram Protocol.

Similarities

Both TCP and UDP are protocols for data transmission. They set rules for how data is sent between two devices. Bother are on layer four of the OSI model.

Differences

TCP works like I do when expecting a package through Amazon, checking every five seconds to see if the package has been delivered.

TCP uses a series of synchronize and acknowledgment packets to make sure that all the data makes it to its destination, as well as other functions like rate limiting.

UDP is the complete opposite. UDP sends all its packets without checking if they actually got to their destination.

Thanks for reading the first edition of 10 Second Tech! For further reading on the subject check out the links below:

UDP — Wikipedia

TCP — Wikipedia


Ten Second Tech #1