0% found this document useful (0 votes)
3 views7 pages

8-User Datagram Protocol - UDP

The document discusses the User Datagram Protocol (UDP) as part of the transport layer in network communication. UDP serves as a fast, application-level interface to IP without reliability or error recovery, making it suitable for applications like VoIP and streaming. It outlines the UDP datagram format, including its header structure and standard applications that utilize UDP, such as TFTP and DNS.

Uploaded by

yosef jbara
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
3 views7 pages

8-User Datagram Protocol - UDP

The document discusses the User Datagram Protocol (UDP) as part of the transport layer in network communication. UDP serves as a fast, application-level interface to IP without reliability or error recovery, making it suitable for applications like VoIP and streaming. It outlines the UDP datagram format, including its header structure and standard applications that utilize UDP, such as TFTP and DNS.

Uploaded by

yosef jbara
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 7

Network protocols and

Algorithms

User Datagram Protocol


UDP
Agenda
• The Transport Layer
• User Datagram Protocol (UDP)
• UDP datagram format
• Standard applications using UDP
The Transport Layer
• The transport layer is the third layer of the Internet
Protocol Suit and the fourth layer of the OSI
reference model.
• The protocols of this layer provide host-to-host (end-
to-end) communication services for applications.
• The transport layer
is responsible for
delivering data to
the appropriate
application on the
host computer.
User Datagram Protocol (UDP)
• UDP is basically an application interface to IP.
• It adds no reliability, flow-control, or error recovery to IP.
• It simply serves as a multiplexer/demultiplexer for
sending and receiving datagrams, using ports to direct
the datagrams.
• UDP provides a mechanism for one application to send a
datagram to another.
• It is faster than TCP, and is suitable
for isochronous applications like voice over IP (VOIP) or
streaming video where error correction is pointless.
UDP datagram format
• Each UDP datagram is sent within a single IP
datagram.
• The UDP datagram has a 16-byte header.
UDP datagram format
• Where:
• Source Port: Indicates the port of the sending
process.
• Destination Port: Specifies the port of the destination
process on the destination host.
• Length: The length (in bytes) of this user datagram,
including the header.
• Checksum: An optional 16-bit one's complement of
the one's complement sum of a pseudo-IP header, the
UDP header, and the UDP data.
Standard applications using UDP
Standard applications using UDP include:
• Trivial File Transfer Protocol (TFTP)
• Domain Name System (DNS) name server
• Remote Procedure Call (RPC), used by the Network
File System (NFS)
• Simple Network Management Protocol (SNMP)
• Lightweight Directory Access Protocol (LDAP)

You might also like