Introduction User Datagram Protocol (UDP) and Transmission Control Protocol (TCP) are the two most important data transmission protocols over computer networks. In this tutorial, we’ll analyze them in detail.
The specification of TCP protocol was published in 1974 in RFC 675. Let’s describe the core concepts of the Transmission Control Protocol. First and foremost, TCP is connection-oriented. In simple words, that means the sender and the receiver must establish a connection and agree to transfer the data.
Full duplex : TCP is a full-duplex protocol; it allows both parties to send and receive data within the context of the single TCP connection. Streaming : Although TCP uses a packet structure for network transmission, TCP is a true streaming protocol, and application-level network operations are not transparent.
David P. Reed designed the UDP protocol in 1980 and documented it in RFC 768. UDP is a simple protocol that works in a transport layer of the OSI model. Applications can use UDP to send data to other hosts over Internet Protocol. Messages sent with UDP are called datagrams. Let’s analyze the core properties of the UDP protocol.