What is TCP/UDP?

Features >> TCP/UDP


The Transmission Control Protocol (TCP) is one of the main protocols of the Internet protocol suite. TCP provides reliable, ordered, and error-checked delivery of a stream of octets (bytes) between applications running on hosts communicating via an IP network. TCP uses three or four-way handshakes to establish and terminate connection and much variety of technologies to ensure reliable transmission.

The User Datagram Protocol (UDP) is one of the core members of the Internet protocol suite. With UDP, computer applications can send datagrams to other hosts on an Internet Protocol (IP) network without prior communications .

UDP provides check sums for data integrity, and port numbers for addressing different functions at the source and destination of the datagram. It has no handshaking dialogues, and thus exposes the user’s program to any unreliability of the underlying network. There is no guarantee of delivery, ordering, or duplicate protection. UDP is suitable for purposes where error checking and correction are either not necessary or are performed in the application; UDP avoids the overhead of such processing in the protocol stack.

Related Features