Transmission Control Protocol (TCP)User Datagram Protocol (UDP)
operate at layer 4 of the
Internet protocol stack.
•responsible for the reliable transfer of user traffic between two hosts.•uses
to make certain all traffic isdelivered safely to the destination end point.
connectionless protocol and
•does not provide sequencing or acknowledgments.
•It is used in place of TCP; Eg. telephony traffic, the Trivial File Transfer Protocol(TFTP), and the Remote Procedure Call (RPC) use UDP.•no reliability
no flow control, or errorrecovery measures,
serves principally as a
for the receiving and sending of traffic into and out of an application.
The packets exchanged between two TCP modules = segments.
TCP and UDP