0% found this document useful (0 votes)
34 views12 pages

UDP (User Datagram Protocol) : Kavita Ahire Pucsd

UDP is a connectionless transport layer protocol that lies between the application layer and IP layer in the TCP/IP protocol suite. It is simpler and lighter weight than TCP but does not provide reliability features like flow control, error control, or guaranteed packet delivery. UDP is commonly used for applications that require simple request-response communications or multimedia streaming where speed is prioritized over reliability.

Uploaded by

Pravesh Mehta
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 PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
34 views12 pages

UDP (User Datagram Protocol) : Kavita Ahire Pucsd

UDP is a connectionless transport layer protocol that lies between the application layer and IP layer in the TCP/IP protocol suite. It is simpler and lighter weight than TCP but does not provide reliability features like flow control, error control, or guaranteed packet delivery. UDP is commonly used for applications that require simple request-response communications or multimedia streaming where speed is prioritized over reliability.

Uploaded by

Pravesh Mehta
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 PDF, TXT or read online on Scribd
You are on page 1/ 12

UDP(user datagram protocol)

Kavita Ahire PUCSD

UDP in the TCP/IP protocol suite

UDP
UDP lies between application layer and IP layer. Connectionless, unreliable transport protocol. UDP is light weight protocol. UDP is simpler than TCP

Process to process communication: UDP versus IP

UDP
UDP is an unreliable transport protocol that can be used in the Internet UDP does not provide:
flow or error control connection management guaranteed in-order packet delivery

UDP is almost a null transport layer

Connectionless services

User datagram header format

Encapsulation and decapsulation


To send message from one process to another, the UDP protocol encapsulates and decapsulates messages

Encapsulation and decapsulation

Flow and error control


Very simple, unreliable transport protocol. No flow control The receiver may overflow with incoming messages No error control except from checksum Sender does not know if message has been lost or duplicated An error in checksum causes user datagram to be silently discard.

Use of UDP
Suitable for processes that require simple request response communication Suitable for multicasting and broadcasting Flow and error control mechanism UDP is commonly used for streaming audio and video. Streaming media such as Windows Media audio files (.WMA) , Real Player (.RM), and others use UDP because it offers speed! The reason UDP is faster than TCP is because there is no form of flow control or error correction. The data sent over the Internet is affected by collisions, and errors will be present. Remember that UDP is only concerned with speed. This is the main reason why streaming media is not high quality. UDP is used for "live" streaming, especially in chat/conference, when you cannot tolerate several seconds delay.

Does UDP create Virtual circuit?

You might also like