Ovido
Langue
  • Anglais
  • Espagnol
  • Français
  • Portugais
  • Allemand
  • Italienne
  • Néerlandais
  • Suédois
Texte
  • Majuscules

Utilisateur

  • Se connecter
  • Créer un compte
  • Passer à Premium
Ovido
  • Accueil
  • Se connecter
  • Créer un compte

6070 Transport Protocol UDP

what does UDP means

UDP means -- User Datagram Protocol

UDP is a layer 4 protocol

Layer 4 protocol → transport protocol

list the 3 Main features of UDP

The Main features of UDP are
-Low overhead generated (a.k.a. simple)

-Low latency (a.k.a. fast)

-65535 bytes payload minus headers

Explain What RFC is

RFC stands for “Request for Comments.”RFCs are documents published by the Internet Engineering Task Force (IETF) or other organizations, describing various aspects of the internet, such as protocols, procedures, programs, and concepts

Only one RFC defines UDP, why is this so?

RFC 768: https://tools.ietf.org/html/rfc768 (Only 3 pages long!!!)
• Published in 1980

• It is because UDP is a simple protocol and never needed to be revised

what are the basic UDP Mechanisms

UDP is designed to do as little as possible

it Takes data from upper layer and forward down to the IP (layer 3) for transmission


thats it

Explain The basic steps for transmission using UDP

The basic steps for transmission using UDP are:

Higher-layer data transfer

An application sends a message to the UDP software


UDP message encapsulation

The higher-layer message is encapsulated into the Data field of a UDP message.

The headers of the UDP messages are filled including the source Port of the application and the destination Port of the intended recipient

The checksum value may also be calculated


Transfering of message to IP

The UDP message is passed to IP for transmission

list 6 Things that UDP does not do

UDP does not establish connections before sending data. It just packages it and... off it goes

• UDP does not provide acknowledgments to show that data was received (Connection-less protocol)


• UDP does not provide any guarantees that its messages will arrive


• UDP does not detect lost messages and retransmit them


• UDP does not ensure that data is received in the same order that they were sent


• UDP does not provide any mechanism to manage the flow of data between devices, or handle congestion

list and explain the aspects of a UDP Datagram Header

Source Port
• Optional field (If not used a value of 0 is used)

• Indicates the port of the sending process

• Length: 16 bits


Destination Port

• Port number of the process that is the ultimate intended recipient of the message on the destination device

• This will usually be a well-known/registered port number

• Length: 16 bits


Length

• The length of the entire UDP datagram including the header and the payload (Data Field)

• Length of this field: 16 bits


Checksum

• This field is optional

• Computed of the entire UDP datagram plus a special pseudo header

• Length of this field: 16 bits

What is UDP Pseudo Header

The UDP pseudo header is a virtual header used in UDP (User Datagram Protocol) to calculate the checksum for the UDP packet.

It includes certain fields from the IP header, such as the:

source and destination IP addresses

the protocol number

the UDP length.


This pseudo header is not actually transmitted along with the UDP packet but is used in the checksum calculation to ensure data integrity.

When do we use UDP

UDP Is used with

Data where performance is more important than completeness .. such asin Multimedia applications (Video/Audio streaming...)


Data exchanges that are Short and Sweet

• such as Management protocols (syslog, SNMP, NTP...)


If multicast is need

• UDP would be the de facto Layer 4 protocol used for multicast applications

Some UDP Applications and Port Numbers

P= protocol


(P) Domain Name Server on port -53

it Uses a simple request/reply messaging system for most exchanges (but also uses TCP for longer ones)


(P) Dynamic Host Configuration Protocol on port 67/68

Host configuration protocols that consist of short request and reply exchanges


(P) Trivial File Transfer Protocol on port 69

TFTP is designed for the quick and easy transfer of small files

(P) Simple Network Management Protocol on port 161/162

An administrative protocol that uses relatively short messages

(P) Voice Over -Carry voice over IP

Some major differences between TCP and UDP

TCP

Connection

TCP is a connection-oriented protocol


Acknowledgement

Acknowledgement segments


Handshake

SYN, SYN-ACK, ACK


Checksum

Checksum used for integrity


Error Checking

TCP does error checking


Reliability

There is absolute guarantee that the data transferred remains intact and arrives in the same order in which it was sent


Header size

TCP header size is 20 bytes


Ordering of data packets

TCP rearranges data packets in the order specified


Speed of transfer

The speed for TCP is slower than UDP


Usage

TCP is suited for applications that require high reliability, and transmission time is relatively less critical


Used by these protocols

HTTP, HTTPS, FTP, SMTP, Telnet


Function

As a message makes its way across the internet from one computer to another. This is connection based


Stream of data

Data is read as a byte stream, no distinguishing indications are transmitted to signal message (segment) boundaries


Weight

TCP is heavy-weight. TCP requires three packets to set up a socket connection, before any user data can be sent. TCP handles reliability and congestion


TCP


Data Flow Control

TCP does Flow Control. TCP requires thre packets to set up a socket connection, before any user data can be sent. TCP handles reliability and congestion control

Some major differences between TCP and UDP

UDP
UDP is a connectionless protocol


No Acknowledgement

No handshake (connectionless protocol)


Checksum used to detect errors

UDP does error checking, but no recovery options


There is no guarantee that the messages or packets sent would reach at all



UDP Header size is 8 bytes


UDP has no inherent order as all packets are independent of each other. If ordering is required, it has to be managed by the application layer


UDP is faster because there is no error- checking for packets


UDP is suitable for applications that need fast, efficient transmission, such as games. UDP's stateless nature is also useful for servers that answer small queries from huge numbers of clients


DNS, DHCP, TFTP, SNMP, RIP, VOIP


UDP is also a protocol used in message transport or transfer. This is not connection based which means that one program can send a load of packets to another and that would be the end of the relationship


Packets are sent individually and are checked for integrity only if they arrive. Packets have definite boundaries which are honored upon receipt, meaning a read operation at the receiver socket will yield an entire message as it was originally sent


UDP is lightweight. There is no ordering of messages, no tracking connections, etc. It is a small transport layer designed on top of IP


UDP does not have an option for flow control

example of TCP Header

32 bits

Source port #. Dest port #


Sequence number


Acknowledgment number


Header length Unused URG -ACK-PSH-RST-SYN-FIN Receive . window


Internet checksum. Urgent data pointer


Options


Data

Example of a UDP Header

(32 Bits)

Source Port. Destination Port


Length. Checksum


Data

Quiz
Verbes en espagnol
Biology questions
chap 37 de mort
Physical/Chemical Properties of Matter & Classifying Matter
phrasal verbs
Vocabularies
Psykologi
Ak paragraaf 1
Business Marketing Aim B
perfect squares
Chapter 1 - Economic ModelsMicroeconomic Theory - Nicholson & Snyder
Renal
sport test
Begrepp, religion sida 64-65
research methods
Biology key words
CLA Theorist's
GLOSORRRRRRRRRRRRRRRRRRRRRRR!!!!!!!!!!!!!!!!!!!!!!!!
KNSS 307 Developmentof manipulate skills
Business Marketing Aim A
entreprenuership test 1
Travel- Unit 2 Global Destinations
citostatici (bez hormona)
Atomic Structure
ionen scheikundeionen
UE7- les comportements addictifs
subject 3 essay from BAC romana
romanaceva
Philo 11
UE7- dvlp personnalité
Biology Definitions Study Guide
CHILE
Kennistoets
ARGENTINA
lektion2
politik - kopiakk
verbs
BIO Unit 2
INGLES VERBOSaprender
VCAB FOR QUIZ
A330-300
Income from House Property
Income from salary
english
Spanish
gross negligence manslaughter
gross negligence manslaughter
daily expressions
Microbiology studying
voc 3.3
USA
Spanska prov 2
Spanska prov
RE Islam revision
antituberkulotici, antimikotici, antivirotici (bez hep c, covid i ostali)
chemical changes
6001 test practicepratice
NO
eduacion fisica
HESI VOCAB🤍
Income tax rates
les mots d'origine
Scope of Total Income
Antigone original ideas for A*
interior design 4
Antigone Context
Antigone Terminology
HT (Critic's quotes)
kap 5 meningar
GS BegrippenToets Periode 3
Income tax Intro
Entrep
japanese
Family JapLearning Japanese, Using These flash Cards To help :))
Etnicitet sociologi
electricity
are u a good pookie?!?jj
Biologi 5.4 Ekosystemen + 5.5 Hållbar utvEkosystem
Ch 4-6
sociologi
Développement de la personne
reading exam
GermanGerman flashcards for ks3
so läxa protestantiska kyrkan
socail deffinitions
so läxa ortodoxa kyrkan
anthro week 5 quiz
Production systems
r
accounting 1-3
etre
avoir
Muscle Tissue
körkort teori
hjärnloben och dess funktionhjärnan består av 3 delar, storhjärnan lillhjärnan och hjätnstammen och de olika delarna styr olika funktioner.
stora testet
CFPFundamentals of Financial Planning
engels parsing sentences
so läxa katolska kyrkan
Weber, Marx, Durkheim, Addams, Mead, Simmel, Du Bois
fil
biology
HjärnloberNamn på loberna på svenska och latin
DT 5 - LuftvägBasala LMA ETT Criciotomi Främmande kropp
BIO 112L EKG
french 2.2
action words
places
Health Science Quiz
Chap.2 Psycho
Jainism Terms
travels
ES : SVT
Nervous System - Cell Biology Semester 2
english termanology
english
english macbeth
history renaissance medicine
grammatica h3
numbers
spaans zinnen h3
plural
Frans Chapitre 3 bron F 1v2
Frans Chapitre 3 bron E 1v2
Ecology and Populations - Biodiversity semester 2
allemend
s
cree words
History
idrot prov
kemi läxförhöre
Met (Pressure levels)
cree locatives
cree diminutives
Inför fysik-prov (kapitel 6) -
hkk glosor
shop infrmantion
i pasti e il cibo
Interior design 3
Spanska kap 5, stavning
Spanska
Fonctions 2
Natures de mots
Exodoncia
Cx Bucal
musicmusic
Frida Kahlo
forensics
poetic methods
englsihmeaning of volta
English vocab
english words
def of stuff
history
CSI 1terminology
Het regelmatige werkwoord -er Frans
Manuel
german 16
Verbet FAIRE (options)
Verbet FAIRE
possessiva pronomen
1.8
comp sup irreg
e
ordtest 15/2
6076 Classification and PrioritizationExam Prepartion
words
12 eisen requirements
Frans blokje B
antibiotici
Ten Principles of Economics
elements
Civil Aviation Regulations
PSYC 105 midterm 1
HHA II Midterm
hkk
Theory test
Bioenergetics, Glycolysis, Krebs cycle+ Electron Transport chain- Biochemistry Semester 2
Social Studies
Spiritualiteit les 5
6076 Document object modelDOM
La découverte du nouveau monde
Koine Greek Participle of ειμι
Frans blokje A
Synonyms
Gen Info
mark up languages
Advanced accounts
Populära barnspel
Semaine 5 (options)
Pathologie neuro
83kirjasta
j ljudet 6
french test #1
Atomic Structure Flashcards - Part 1
OrganismsLife science topic organism
Spiritualiteit les 4
week 6
f
AQA geography birmigham case study
Spiritualiteit lesdag 3
Jake
Taktik
santé motricité physio respiratoire
Begrepp
ALLEMAND2
TNTT
Spiritualiteit les 2
Knowledge Test NJ - Primary
Semaine 5 (type)
Spanish Vocab Test 4
General Equilibrium Teory - DeSerpaChapter 16
2.2 Mes passions à moi
espagnolo facil
america latina
....1
Family and friends
franska glosor kap 9
123
general science- exam
biologia
Polislagen 1-10§
la salute e la medicine
to rattleto worry someone or make someone nervous:
AURORA ARAGON DE NICARAUGA
Income Tax PGBP
module 2 study
HOLA, QUE TAL 3
HOLA, QUE TAL 2
HOLA, QUE TAL
KLASSRUMSFRASER
LA FAMILIA
5.2
Service
5.1
English-MakingHistory2024
Onderzoek neurologie
Språktenta
politik
Pathologie neuro fysiologie
SES
religion
social studies notes 1/31
Capitals (inverse)
FL 4 Kommunikayionssystem
cyber security 1-3
HIZTEGIA HARD
HIZTEGIA
PigsPigs
Wordly Wise 3000 lesson 1vocabulary
Teeth
HT (Context) CRIMBS PPWNG
marketing chapter 9
BHV-Toets
home services pricing
Genetics midterm 1
Anthro week 3 flashcards
Antho week 4 quiz
emprical studies introbasics - central tendency, spread
ak se3thema water en bevolking en ruimte
biology B6
unit 6 bio
WC Reading Quiz #2
Study-HOSA
Supply Chain
psychometry
trophosphere geographylol
chemieorganische verbindingsklassen en monofunctionele verbindingsklassen
geography atmosphere
Biologi 5.2 Energi och materia + 5.3
Pathologie orthopedie breuken
spainsh unit 2 b
AP1
Revalida
scince test flash cardsstudyy
French Vocab Test
songbirds and snakes vocab
Spanska glosor
geo110
french
LobstersLobsters
Social Terms Jan-Feb
Pathologie orthopedie bovenste extremiteit
KNSS 307 ( development of human locomotions
KNSS 307( Early Motor Development
Modern studies testmy test
The limbic systemCharlotte
English vocabulary
Pathology unit 1
History quiz 4
Respiritory system
GTF + De taktiska grundprinciperna
Fondamentaux Biologie
Sampling
FL 3 Kommunikationssystem