-
TCP is connection-oriented while UDP is connectionless, that is, no link is required before sending data.
-
TCP provides reliable services. That is to say, data transmitted through the TCP connection is error-free, not lost, not repeated, and in order to arrive; UDP does its best to deliver, i.e. reliable delivery is not guaranteed. And because TCP is reliable, connection-oriented, and does not lose data, it is suitable for large-volume exchanges.
-
TCP is byte stream oriented, UDP packet oriented, and network congestion does not slow down the transmission rate (hence packet loss, for real-time applications such as IP telephony and video conferencing).
-
TCP supports only 1 to 1, UDP supports 1 to 1 and 1 to many.
-
TCP’s header is 20 bytes larger than UDP’s 8 bytes.
-
TCP is connection-oriented, reliable transport, while UDP is unreliable.