Differences between the UDP and TCP protocols

Last update on June 21, 2009 08:01 AM by jak58
Published by netty5

Differences between the UDP and TCP protocols






User Datagram Protocol (UDP)


It is part of the base protocols of the Internet Protocol Suite. Programs on networked computers can send short messages sometimes called as datagrams. UDP does not guarantee any reliability( it happens datagram may arrive out of order, are duplicated, or are missing without any notice). The fact that no checking whether all packets are actually delivered is made, UDP proves to be faster and more efficient, for applications that do not need guaranteed delivery. UDP find its uses in such situations:

Time-sensitive applications. The problems due to delayed packets are avoided

It is also useful for servers that answer small queries from huge numbers of clients. UDP supports packet broadcast (conveys to all on local network) and multicasting (conveys to all subscribers).

Transmission Control Protocol (TCP)


It is often referred to as TCP/IP due to the importance of this protocol in the Internet Protocol Suite. TCP operates at a higher level, concerned only with the two end systems, (e.g. between web browser and a web server). TCP provides reliable, sequential delivery of a stream of data from one program on one computer to another program on another computer. Common uses of TCP regroup e-mailing support and file transfer and Web applications. Among its management tasks, TCP controls message size, the rate at which messages are exchanged, and network traffic congestion. As for IP, it handles lower-level transmissions from computer to computer as a message transferred across the Internet.

Note:
IP works by exchanging information chunks called packets. A packet is a sequence of bytes consisting of a header and a body. The header contains the packet's destination and path to be taken on the Internet and the body contains the data which is being transmitted.
Best answers for « Differences between the UDP and TCP protocols » in :
TCP protocol Show The characteristics of TCP protocol TCP (which means Transmission Control Protocol) is one of the main protocols of the transport layer of the TCP/IP model. It makes it possible, at application level, to manage data coming from (or going to) the...
TCP/IP Show What does TCP/IP mean? TCP/IP is a suite of protocols. The acronym TCP/IP means "Transmission Control Protocol/Internet Protocol" and is pronounced "T-C-P-I-P". It comes from the names of the two major protocols in the suite of protocols, i.e....
IP protocol Show The role of IP protocol IP protocol is part of the Internet layer of the TCP/IP protocol suite. It is one of the most important Internet protocols because it allows the development and transport of IP datagrams (data packets), without however...
IPX/SPX protocol under Windows Vista ShowIPX/SPX protocol under Windows Vista IPX/SPX: Internetwork Packet Exchange/Sequenced Packet Exchange The protocol IPX/ SPX allow some old games to play in network (Red Alert, Command & Conquer, etc.) This function is not supported...
The TCP / IP Model ShowThe TCP / IP Model This article describes the reference model TCP / IP, which is the historical and technical standard of the Internet. The U.S. Department of Defense has established the Reference Model TCP / IP because he needed to...
Major difference between “display: none” and “visibility: ShowMajor difference between “display: none” and “visibility: hidden” There are two attributes that you can use in your webpage, using CSS, to hide the display command in a web browser of an element that has been added in a CSS...
Download Support IPX for Vista ShowProtocol IPX/SPX is used for many old games for network play (Red Alert, Command & Conquer, etc). Unfortunately, Microsoft withdrew IPX/SPX protocol support for Vista (32bit). Nevertheless, it is possible to solve the problem by selecting the pilot...
IPv6 protocol ShowDocument written by Nico VanHaute History of IP protocol The days of IP protocol in its current format (IPv4) are numbered. From the middle of the 1990s the Internet was largely used by universities, high tech industries and the government, but...
SYN attack ShowSYN attack The "SYN attack" (also called "TCP/SYN Flooding") is a network saturation (denial-of-service) attack that exploits the Three-way handshake mechanism of the TCP protocol. The three-way handshake is the way in which any "reliable"...
UDP protocol ShowCharacteristics of the UDP protocol The UDP protocol (User Datagram Protocol) is a connectionless orientated protocol of the transport layer of the TCP/IP model. This protocol is very simple given that it does not provide error detection (it is not...