Difference Between TCP and UDP in Computer Networks
Difference Between TCP and UDPTCP : Transmission Control Protocol
- Connection Oriented
- Overhead is high
- Byte Oriented
- Using in Critical Applications like FTP
- TCP is a Concurrent protocol
TCP follows connection oriented communication. Also the communication using TCP is reliable as it ensure the delivery of packets. TCP generally uses cumulative acknowledgment to inform the sender that all the packets are received. Undelivered packets or packets with error are re-transmitted.
UDP : User Datagram Protocol
- Connection less
- Not Reliable
- Overhead is low
- Message Oriented
- Using in real time applications and multimedia
- UDP is an iterative protocol
UDP is a connectionless protocol.UDP does not ensure the delivery of packets, so it is not reliable.It does not uses acknowledgment.And is mainly used in real time applications and multimedia where the importance is for the latest data.There is no provision for re-transmission of packets.