UDP (User Datagram Protocol)
by, 04-25-2012 at 11:25 PM (635 Views)
User Datagram Protocol is a “connection-less transport layer” protocol which is present at IPs top. UDP doesn’t provide any data integrity mechanism and also doesn’t create connection with destination before the data is sent. UDP packages data in Datagram with port number and destination address and sends it out to the network. In case destination host is listening and alive, Datagram will be received otherwise it will get discarded. There is no guarantee of delivery so possibilities are present that datagrams would be corrupted, lost or wrong ordered delivery would be done. Programmer could add them manually to the application in case that facility is needed. It is known as Unreliable Datagram Protocol because of the UDP minimal implementation.
Certain advantages are also associated with UDP as certain built-in facilities are present in protocol and hence have a considerably lower management overhead. Permanent connection is missing which means UDP can better deal with the failures associated with networks, because packets could be routed to somewhere else so that to find their destinations. UDP examples which are quite well known include SNMP, DSN lookups and PING. Common factor among them is their smaller message length so that packets could be kept smaller.