TCP vs. UDP
-TCP stands for transmission control protocol whereas UDP stands for user datagram protocol.
-Tcp is a reliable and connection-oriented Transport protocol whereas UDP is a less reliable and connection-less protocol.
-In tcp , Error control is mandatory.because checksum is used at the end of the TCP to detect errors whereas error control is optional in case of UDP .
-TCP is comparatively slower than UDP.
-The header size of TCP is 20-60 bytes whereas header size of UDP is 8 bytes .
-TCP doesn't supports broadcasting whereas UDP supports broadcasting .
-TCP is used by SMTP,FTP,HTTP,HTTPs etc, whereas UDP is used by DHCP,DNS etc .
Comments
Post a Comment