If UDP is unreliable why is it used at transport layer

Viewed 11396

Sorry for what is a stupid question.

Function of transport layer is reliable delivery of messages. UDP is inherently unreliable, why do we use it at Transport layer then?

Thanks

EDIT: Just to clarify, I have read the Wiki and other sources. My question is

UDP is Unreliable (I know why and the advantages and where it is used etc.) , why not use it(UDP) at some other layer, rather than Transport layer which implies reliability.

4 Answers

Transport layer classes

Class 0 - Simple class
Class 1 - Basic error recovery class
Class 2 - Multiplexing class
Class 3 - Error Recovery and multiplexing class
Class 4 - Error detection and recovery class
Related