Difference between UDP and TCP In the TCP/IP Protocol there are two common transport layer protocols, the connection oriented TCP Protocol and the connection less UDP (User datagram Protocol) UDP is used instead of the TCP protocol for transport purposes when we don’t require a consistent delivery of data. Video and Audio communication is a example of this as we don’t have time to retransmit data if a packet is lost, in UDP we don’t require a notification of safe delivery of data, unlike TCP which requires an acknowledgment for every message that is sent . In short UDP does not guarantee reliable delivery, whereas TCP does, reliability is the main difference between UDP and TCP. |