User Diagram Protocol (UDP) may be a connectionless protocol that’s located in between application layer and IP layer. It’s mainly used for broadcasting messages over a network. aside from that it acts as an intermediary between the applications and therefore the network operations.
Functioning of UDP is completed almost almost like TCP. Although UDP exhibits numerous benefits it’s certain limitations that has got to be taken care of before acquiring their services.
Advantages of User Datagram Protocol
1. Connectionless
UDP is connectionless as it did not requires a virtual circuit before the transfering the knowledge to the other user. Therefore, with none preparation or negotiation data gram are often sent to the receiver. The receiver should be ready to lookout of them.
2. Unreliable
UDP is usually unreliable because there’s no concept of retransmission, acknowledgement or outing here. Whenever a knowledge gram is shipped. It can’t be guaranteed that it’ll be delivered to its destination host. Sometimes the info gram are often lost on its way or delivered twice. The worst part is that there’s not even a indication of this unless the host decides to say them. However these sorts of failure rates are very low on network connections.
3. Incorrect Order
Apart from data grams being undelivered it are often out of order in UDP too. The sequence during which the info grams are being sent can’t be bound to be within the same order when it reaches the host application. Sometimes the packets are often ordered during a way that you simply receiver a packet first which was sent delayed. Moreover there’s no thanks to predict these orders until they’re being received.
4. No Congestion Control
Unlike in TCP, Congestion control methods aren’t present in UDP. Since there’s no any congestion control methods in UDP, sizable amount of knowledge that’s being transmitted via UDP can cause congestions. For this there’s no restrictions which will be imposed.
5. Router Support
On the a part of handling UDP, routers are quite careless. this is often because whenever a knowledge gram is collided it’ll not retransmit them. Besides that during a router UDP packets are going to be discarded even before TCP packets.
Disadvantages of User Datagram Protocol
1. Transmission Delay
When data is transfer it transfered at a delay time as because the packets stray on its way of transmission it doesn’t require them to retransmit. And also there’s no need for a connection setup. Basically thanks to this low transmission delay, UDP makes it ideal to be utilized in delay sensitive applications.
2. Multicast Applications
Always UDP is suggested when using multicast applications as they easily perform multipoint. If TCP is employed for this purpose the sender has got to record the sending rates for the precise receivers. This process are often complex. That’s the rationale why UDP is employed here.
3. Connection Speed
UDPs are generally faster thanks to the absence of acknowledgement fields. Neither they are doing not got to serve acknowledgement or hold the info on memory.
4. Time interval
Thanks to the presence of small headers, UDP protocols take very less time in processing the packets which ultimately requires less memory for operations.
5. Error Detection
UDP on default doesn’t have a mistake checking mechanism. It examines the header and therefore the data of the packet. For this purpose it uses the tactic of checksum. However there’ll be no any actions taken against them.
