Author Topic: User Datagram Protocol (UDP)  (Read 1016 times)

sreeraj.datasoft

  • Blue Belt
  • ****
  • Posts: 134
  • Karma: +0/-0
User Datagram Protocol (UDP)
« on: October 18, 2013, 03:04:56 AM »
Hello,

User Datagram Protocol (UDP)

The User Datagram Protocol (UDP) is a connectionless transport protocol,
and is defined in RFC 768.
UDP, above all, is simple. It provides no three-way handshake, no flowcontrol,
no sequencing, and no acknowledgment of data receipt. UDP
essentially forwards the segment and takes no further interest.
Thus, UDP is inherently unreliable, especially compared to a connectionoriented
protocol like TCP. However, UDP experiences less latency than
TCP, due to the reduced overhead. This makes UDP ideal for applications
that require speed over reliability. For example, DNS primarily uses UDP as
its transport protocol, though it supports TCP as well.

hruthika

  • Brown belt
  • ******
  • Posts: 872
  • Karma: +0/-0
Re: User Datagram Protocol (UDP)
« Reply #1 on: October 18, 2013, 04:02:26 AM »
Hello,

UDP (User Datagram Protocol) is a communications protocol that offers a limited amount of service when messages are exchanged between computers in a network that uses the Internet Protocol (IP). UDP is an alternative to the Transmission Control Protocol (TCP) and, together with IP, is sometimes referred to as UDP/IP. Like the Transmission Control Protocol, UDP uses the Internet Protocol to actually get a data unit (called a datagram) from one computer to another. Unlike TCP, however, UDP does not provide the service of dividing a message into packets (datagrams) and reassembling it at the other end. Specifically, UDP doesn't provide sequencing of the packets that the data arrives in. This means that the application program that uses UDP must be able to make sure that the entire message has arrived and is in the right order. Network applications that want to save processing time because they have very small data units to exchange (and therefore very little message reassembling to do) may prefer UDP to TCP. The Trivial File Transfer Protocol (TFTP) uses UDP instead of TCP.

Thanks,
Hruthika.

priyanka

  • Brown belt
  • ******
  • Posts: 723
  • Karma: +0/-0
Re: User Datagram Protocol (UDP)
« Reply #2 on: October 18, 2013, 06:51:58 AM »
Hello,

   a connectionless protocol that, like TCP, runs on top of IP networks. Unlike TCP/IP, UDP/IP provides very few error recovery services, offering instead a direct way to send and receive datagrams over an IP network. It's used primarily for broadcasting messages over a network.



Thanks
priyanka