udp

15
UDP AVP-2 TRTS AVP-2 TRTS AVP-2 TRTS Abdullah Salem Hadadi Abdullah Dafer Alshehry Christian Stueer Mr . ICT - N

Upload: abdullah-alshehri

Post on 05-Dec-2014

178 views

Category:

Technology


2 download

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

Page 1: UDP

UDP

AVP-2TRTS

AVP-2

TRTS

AVP-2TRTS

Abdullah Salem Hadadi

Abdullah Dafer Alshehry

Christian Stueer

Mr.

ICT-N

E-6

Page 2: UDP

UDP

In 2 minutes, imagine this picture.Tell me what is talking about?

Page 3: UDP

Introduction of UDP

User Datagram

Example for UDP application: Consideration of using UDP

Usage of UDP

TCP vs. UDP

Group Work

Characteristics of UDP

Page 4: 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.

Page 5: UDP

Position of UDP in the TCP/IP protocol suite

Page 6: UDP

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

Page 7: UDP

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

Page 8: UDP

User datagram format

Page 9: UDP

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.

Page 10: UDP

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

Page 11: UDP

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

Page 12: UDP

Encapsulation and decapsulation

Page 13: UDP

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

Page 14: UDP

Group Work

(Competition)

7 minutes

Page 15: UDP

Quiz

5 min

utes