Co-Authored By:
Keeping this in view, is UDP reliable or unreliable?
Reliability properties A reliable service is one that notifies theuserif delivery fails, while an unreliable one does notnotifythe user if delivery fails. Together, Transmission ControlProtocol(TCP) and IP provide a reliable service, whereasUserDatagram Protocol (UDP) and IP provide anunreliableone.
Thereof, how reliable is UDP?
UDP by itself isn't reliable. Thedataacknowledge/retransmission functions have to occur at ahigher(i.e. application) level. TFTP is a good example of that.WhileUDP is not reliable, a lot of protocols use itas abase and add reliability at applicationlevel.
UDP has the capability of adding the portaddressto IP. Reasons for using UDP: UDP reducesoverheadbecause it does not add flow control, error control, orsequencedelivery unlike connection-oriented services. UDP isusedfor the transmission of data in which delivery of the data ismoreimportant than accuracy.