100% found this document useful (1 vote)
627 views

UDP - User Datagram Protocol

UDP is a connectionless protocol that provides unreliable datagram delivery with no acknowledgment or flow control. It has small overhead and is suitable for simple request-response communication where internal flow and error control mechanisms are used. Key characteristics include process-to-process communication, no flow control, error detection only, and small packet size.

Uploaded by

quocvuong8693
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPT, PDF, TXT or read online on Scribd
100% found this document useful (1 vote)
627 views

UDP - User Datagram Protocol

UDP is a connectionless protocol that provides unreliable datagram delivery with no acknowledgment or flow control. It has small overhead and is suitable for simple request-response communication where internal flow and error control mechanisms are used. Key characteristics include process-to-process communication, no flow control, error detection only, and small packet size.

Uploaded by

quocvuong8693
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPT, PDF, TXT or read online on Scribd
You are on page 1/ 15

UDP – User Datagram

Protocol
TCP/IP Protocol
UDP – Where ?
Characteristics
 Process-to-Process communication
 No flow control mechanism
 No acknowledgment for received packets
 Error Control : Yes
 detects an error -> silently drops it.
 Unreliably delivery service
 Connectionless
 Small overhead
 Data unit must be small enough to fit a UDP packet
Process-to-Process
Communication
Port numbers
IP addresses versus port
numbers
Socket Addresses
User Datagram
UDP Operations
 Connectionless Services
 Flow and Error Control

 Encapsulation and Decapsulation

 Queuing

 Multiplexing and Demultiplexing


Connectionless Services
 No relationship between the different user
datagrams
 User datagrams are not numbered

 No connection establishment and no


connection termination
 Cannot send a stream of data. Instead data
unit must be small enough to fit a UDP
packet
Flow and Error Control
 No flow control -> no window mechanism -> receiver
may overflow with incoming messages
 No error control mechanism except for CHECKSUM
-> sender does not know if a message has been lost
or duplicated.
 Receiver detects an error (by checksum) -> user
datagram is silently discarded
 Lack of flow control and error control -> process
using UDP should provide for these mechanisms
Encapsulation & Decapsulation
Queue
 Incoming and Outgoing queues
 When process terminated, queues are destroyed
 An outgoing can overflow -> OS ask sender process to wait
before sending nay more messages
 An incoming can overflow -> UDP drops the user datagram and
asks for a port unreachable message to be sent to receiver
Multiplexing and Demultiplexing
Use of UDP
 For simple request-response communication
with little concern for flow and error control.
 For a process with internal flow and error-
control mechanisms (TFTP)
 For multicasting and broadcasting
(embedded in UDP but not in TCP)
 For management processes such as SNMP

 For some route updating protocols (RIP)

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy