UDP is a layer 4 (transport) protocol.
the main difference between UDP and TCP is that UDP is not a reliable protocol.
Transport layer TCP/IP Protocols are TCP and UDP
UDP or User Datagram Protocol works on the Transport Layer (layer 4) in the OSI model.
UDP is a Transport layer protocol or fourth layer protocol. UDP is a connection less protocol used in transport layer. UDP header have four fields in total .
1. IP works at network layer, UDP works at transport layer. 2. UDP carries application data, IP carries TCP segments or UDP datagrams.
UDP and ports 67 and 68.
TCP and UDP are transport layer protocols; the OSI layer is layer 4 (transport)
TCP is the protocol of network layer, It is connection oriented protocol. UDP is the protocol of network layer, It is connection less protocol.
Application Layer
• low overhead • no flow control • no error-recovery function
DHCP is a layer-4 protocol, most commonly transported over UDP. UDP port number 67 is the destination port of a server, and UDP port number 68 is used by the client