8 most important difference between TCP and UDP

The most important difference between TCP and UDP in networking.

NumberTCPUDP
1TCP stands for Transmission control protocolUDP stands for User datagram protocol
2TCP is connection oriented protocol means before sending data, there is connection establishment happens between two clientsUDP is connectionless protocol means there is no connection establishment before sending data between two clients
3TCP provides reliable communicationUDP provides unreliable communiation
4TCP gives gaurantee of transmission of dataUDP does not give gaurantee of transmission of data.
5TCP header size is 20 bytesUDP header size is 8 bytes
6In TCP there is concept of acknowledgmentIn UDP there is no concept of acknowledgment
7TCP has concern of jitter. Means if any packet lost then TCP does not provide subsequent data to the application while it is requesting re-sending of the missing dataUDP does not have concern of jitter because there is retransmission of missing data.
8TCP is slower as compared to UDP because retransmission of lost packets can take long delay.UDP is faster as compared to TCP because there is no retransmission of lost packets




You may also like...

Leave a Reply