Distinguish, differentiate, compare and explain what is the difference Between TCP and UDP Protocol.

Comparison and Difference Between TCP and UDP Protocol

  1. TCP is an acronym for Transmission Control Protocol while UDP is an acronym for User datagram Protocol.
  2. TCP is a connection-oriented protocol while UDP is a connectionless protocol.
  3. In TCP if you send two messages along a connection, one after the other, the  message sent first will arrive first at receiver while in UDP you don’t know what order they’ll arrive at the receiver. i.e. no order can maintain.
  4. UDP is faster than TCP because error recovery is not attempted. It is a best effort protocol.
  5. TCP header size is 20 bytes while in UDP header size is 8 bytes.
  6. TCP is heavy weight as it needs three packets to setup a connection while UDP is light-weight.
  7. Examples
    1. TCP Examples: HTTP, HTTPs, FTP, SMTP, Telnet
    2. UDP Examples: DNS, DHCP, TFTP, SNMP, RIP, VOIP.
Image Resizer
About Author: Jeniffer Fleming