Notes on TCP and UDP

TCP and UDP are transport level Internet protocols.

TCP

UDP

Connection Oriented Connectionless
Complete reliability

corrects lost, corrupted and out-of-order packets

best effort delivery
Full Duplex communication Full Duplex communication
Point to Point communication Point to Point communication or broadcast
Stream Interface Packet Interface
Reliable connection startup no connection

TCP and UDP use the Internet Protocol as a network layer

TCP builds on IP using CRCs, sequence numbers, time-outs and retransmissions to create a reliable, stream oriented network.