udp
DESCRIPTION
What is the UDP? UDP is a connectionless and unreliable transport protocol. The two ports serve to identify the end points within the source and destination machines. User Datagram Protocol is used, in place of TCP, when a reliable delivery is not required.TRANSCRIPT
UDP
AVP-2TRTS
AVP-2
TRTS
AVP-2TRTS
Abdullah Salem Hadadi
Abdullah Dafer Alshehry
Christian Stueer
Mr.
ICT-N
E-6
UDP
In 2 minutes, imagine this picture.Tell me what is talking about?
Introduction of UDP
User Datagram
Example for UDP application: Consideration of using UDP
Usage of UDP
TCP vs. UDP
Group Work
Characteristics of UDP
What is UDP?UDP is a connectionless and unreliable transport protocol. The two ports serve to identify the end points within the source and destination machines. User Datagram Protocol is used, in place of TCP, when a reliable delivery is not required. However, UDP is never used to send important data such as web-pages, database information, etc. Streaming media such as video,audio and others use UDP because it offers speed.
Position of UDP in the TCP/IP protocol suite
Characteristics of UDP
• Unreliable, connectionless delivery .• UDP uses a connectionless
communication setup. In this UDP does not need to establish a connection before sending data. Communication consists only of the data segments themselves.• Same best effort semantics as IP• No ack, no sequence, no flow control• Subject to loss, duplication, delay, out-of-order, or loss of connection.• Fast, low overhead
UDP packets, called user datagrams, have a fixed-size header of 8 bytes. Figure in the next slide shows the format of a user datagram.
User Datagram
User datagram format
A client-server application such as DNS uses the services of UDP because a client needs to send a short request to a server and to receive a quick response from it. The request and response can each fit in one user datagram. Since only one message is exchanged in each direction, the connectionless feature is not an issue;
Example for UDP application:
the client or server does not worry that messages are delivered out of order.
The consideration of using UDP• Reduce the requirement of
computer resources• The checking scheme has
provided completely by the application program
• When using the Multicast or Broadcast to transfer
• The transmission of Real-time packets
The usage of UDP
• Trivial File Transfer Protocol, TFTP
• Simple Network Management Protocol, SNMP
• Dynamic Host Configuration Protocol, DHCP
• Domain Name System, DNS• Routing Information Protocol,
RIP• Real-Time Transport Protocol,
RTP
Encapsulation and decapsulation
TCP vs. UDP
UDP TCP
connectionless connection-oriented
unconfirmed service confirmed service
(request, indication) (request, indication, response,
confirm)
low overhead high overhead
(header 8 octets) (header 20 octets)
no flow control flow control
Group Work
(Competition)
7 minutes
Quiz
5 min
utes