In: Computer Science
What are the differences between TCP and UDP? What are transport protocols?
SOL:
Differences between TCP and UDP
TCP | UDP |
TCP is a connection oriented protocol | UDP is a connection less protocol |
TCP is reliable | UDP is not so reliable |
TCP is not so faster compared to UDP because of the connection eastablishment phase before transfer | UDP is very much faster compared to TCP |
TCP provides advanced error checking methods | UDP provides very basic error checking methods |
Broadcasting is not supported by TCP | UDP supports broadcasting |
if the packet is lost then that packet retransmission is there using TCP | Packet retransmission is not there in UDP |
TCP is used in some of the protocols like HTTP,FTP etc | UDP is used in DNS,BOOTP etc |
Transport protocols:
Transport protocols are used for communication between the Process in one host to process in another host . They guarantee end to end delivery of packets . These are above the IP Layer. some of the Transport protocols are
1) TCP 2)UDP