TCP

The Transmission Control Protocol (TCP) is a connection-oriented protocol for communications. It breaks down the data into small bundles and afterward reassembles the bundles into the original message on the opposite end.

Three-way handshake

The TCP model uses a three-way handshake to establish connection.

UDP

The User Datagram Protocol is an unreliable and connectionless protocol. Unlike TCP, UDP does not guarantee delivery, order, or error checking, making it a lightweight and efficient option for certain types of data transmission such as video conferencing.

UDP-gif.gif