Transmission Control Protocol (TCP) and User Datagram Protocol (UDP)

Pragya Sapkota
2 min readFeb 22, 2023

--

TCP

The Transmission Control Protocol (TCP) is a connection-oriented service where the data transmission is on both sides after the connection is established. It has an in-built system to check on the errors as well. In addition, the system also guarantees that the data get delivered in the order it was sent.

This is the better option for transferring information such as data files, web pages, images, etc. However, the feedback mechanisms result in a larger overhead that helps for the good use of available bandwidth on the network.

UDP

Further, the User Datagram Protocol (UDP) is a connectionless internet protocol. In the UDP, neither recovery nor error-checking checking services are needed. The data is repeatedly sent to the receiver whether the receiver is ready or not and is not responsible for end-to-end communication.

There is no overhead to open, maintain, or terminate a connection. We can see the protocol in real-time communications like broadcast transmissions or multicast network ones. Comparatively, UDP is faster than TCP and is much more efficient.

TCP Vs. UDP

I hope this article was helpful to you.

Please remember to applaud this article and follow me!!!

Any kind of feedback or comment is welcome!!!

You can also subscribe to my stories via email to get notified whenever I bring out an article on a new subject.

Thank you for your time and support!!!!

Keep Reading!! Keep Learning!!!

--

--