What's UDP
Question:
Explain what the UDP is and mention some advantages and disadvantages of using such a protocol.
UDP
What is UDP you ask, well first off it stands for User Datagram Protocol
, and is part of the Transport layer on the OSI model. Another part of this Transport layer is TCP(Transmission Control Protocol) which is the main protocol used for most cases as it can send large amounts of data in the form of packets and reassemble that on the other side with little dataloss. The disadvantage of using TCP is that in introduces delays called latency to a greater extent then UDP does.

Now UDP provides two main jobs in the Transport layer in that it provides port numbers to distinguish user request and has a checksum abillity to verify that data arrived 100%. Let’s get into some advantages of UDP.
Advantages
Well one advantage is that over its TCP big sister is that UDP has a much lower bandwidth overhead and latency. This means that for things such as gaming and voip you can have a better experience like a less laggy multiplayer experience all because UDP.
Disadvantages
Well there is a disadvantage to using UDP and that is that packets can be lost or recieved in the wrong order because it doesn’t follow the same set rules as TCP. UDP like a firehose, releasing large amounts of water with some water loss. Where TCP is more like a finely tuned vegetable water system with no water loss.

Summary
So as we can see there aren’t really disadvantages or advantages, it comes down to using the right protocol for the job and if that mean gaming or voip or a few other applications then your using the right tool for the job. Beam me up scotty!