0% found this document useful (0 votes)
3 views

udp

Uploaded by

bchalukya76
Copyright
© © All Rights Reserved
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)
3 views

udp

Uploaded by

bchalukya76
Copyright
© © All Rights Reserved
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/ 2

User Datagram Protocol (UDP) – Overview

Definition:
UDP is a Transport Layer protocol in the Internet Protocol suite. It is unreliable,
connectionless, and does not require establishing a connection before data transfer.

Key Features:

1. Unreliable and Connectionless: No guaranteed delivery; suitable for applications where


speed is prioritized over reliability.

2. Low Overhead: Faster and consumes less bandwidth compared to TCP.

3. No Error or Flow Control: Relies on IP and ICMP for error reporting.

Advantages:

Minimal latency for real-time services like gaming, voice/video calls, and live conferences.

Efficient bandwidth usage as dropped packets are not retransmitted.

UDP Header Structure (8 Bytes):

1. Source Port (2 Bytes): Identifies the port number of the source.

2. Destination Port (2 Bytes): Identifies the port number of the destination.

3. Length (2 Bytes): Specifies the total length of the UDP packet (header + data).

4. Checksum (2 Bytes): Optional field for error checking (16-bit one's complement).

Applications:

1. Real-time applications (low latency): Gaming, VoIP, and live streaming.

2. Multicasting: Supports packet switching efficiently.


3. Routing protocols: RIP (Routing Information Protocol).

4. Other protocols: DNS, NTP, DHCP, TFTP, RTSP, and OSPF.

When to Use UDP:

1. Reduce computational overhead.

2. For multicast or broadcast data transfer.

3. For real-time multimedia applications where delays are intolerable.

Additional Notes:

UDP is faster as it attaches a minimal header to the data.

Application Layer tasks using UDP: Trace Route, Record Route, and Timestamp.

Removing the checksum field makes UDP a null protocol.

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