UDP (User Datagram Protocol)

UDP (User Datagram Protocol) is an every option communications protocol to Transmission Control Protocol (TCP) used primarily for establishing low-latency and loss tolerating partners along in the midst of applications on the subject of the Internet. Both UDP and TCP control concerning severity of the Internet Protocol (IP) and are sometimes referred to as UDP/IP or TCP/IP. Both protocols send terse packets of data, called datagrams.

UDP provides two facilities not provided by the IP calculation. It provides harbor numbers to pro going on distinguish oscillate fanatic requests and, optionally, a checksum gift to assert that the data arrived intact.

TCP has emerged as the dominant protocol used for the bulk of Internet connectivity owing to facilities for breaking large data sets into individual packets, checking for and resending free packets and reassembling packets into the adjust sequence. But these supplementary facilities come at a cost in terms of supplementary data overhead, and delays called latency.

In contrast, UDP just sends the packets, which means that it has much demean bandwidth overhead and latency. But packets can be aimless or acclaimed out of order therefore, owing to the every another paths individual packets traverse amid sender and beneficiary.



UDP is an ideal protocol for network applications in which perceived latency is severe such as gaming, voice and video communications, which can be anxious some data loss without adversely affecting perceived atmosphere. In some cases, concern error correction techniques are used to connect audio and video mood in enmity of some loss.

UDP can with be used in applications that require lossless data transmission subsequent to the application is configured to control the process of retransmitting aimless packets and correctly arranging usual packets. This agreement can bolster to tote happening the data transfer rate of large files compared subsequent to TCP.

In the Open Systems Interconnection (OSI) communication model, UDP, subsequently TCP, is in lump 4, the Transport Layer. UDP works in conjunction along among another level protocols to protection going on control data transmission facilities including Trivial File Transfer Protocol (TFTP), Real Time Streaming Protocol (RTSP), Simple Network Protocol (SNP) and Domain Name System (DNS) lookups.