|
Transmission
Control Protocol
(TCP) and the User Datagram Protocol (UDP)
are two separate Internet protocols for the Transport
Layer.
The
Transport Layer attempts to smooth over the problems of the IP layer.
The Transport Layer can place packets into the proper
order and request retransmission of missing packets (i.e. packets not
arriving within a given time).
TCP guarantees bytes
in correct order.
UDP
does not guarantee correct order but has
lower overhead than TCP.
For
some applications like audio and video transmission the loss of a few
bytes is not noticeable and so they use UDP.
|