Tuesday, May 2, 2023

UDP (User Datagram Protocol) यूजर डेटाग्राम प्रोटोकॉल

UDP (User Datagram Protocol) is a transport layer protocol that operates on top of the IP (Internet Protocol). It provides a connectionless, unreliable, and low-overhead communication service between applications running on different hosts in a network. UDP is a simple and lightweight protocol, often used for real-time applications or scenarios where speed and low latency are more important than guaranteed delivery.
UDP (यूजर डेटाग्राम प्रोटोकॉल) एक ट्रांसपोर्ट लेयर प्रोटोकॉल है जो IP (इंटरनेट प्रोटोकॉल) के शीर्ष पर संचालित होता है। यह एक नेटवर्क में विभिन्न मेजबानों पर चल रहे अनुप्रयोगों के बीच एक कनेक्शन रहित, अविश्वसनीय और कम-ओवरहेड संचार सेवा प्रदान करता है। यूडीपी एक सरल और हल्का प्रोटोकॉल है, जिसका उपयोग अक्सर वास्तविक समय के अनुप्रयोगों या परिदृश्यों के लिए किया जाता है जहां गारंटीकृत डिलीवरी की तुलना में गति और कम विलंबता अधिक महत्वपूर्ण होती है। 

Characteristics/ Features of UDP:
यूडीपी की विशेषताएं / विशेषताएं: 
1. Connectionless:- UDP is a connectionless protocol, which means it does not establish a dedicated connection before transmitting data. Each UDP datagram (packet) is sent independently and may take different paths to reach the destination. It makes UDP faster and more efficient than TCP.
1. कनेक्शन रहित:- यूडीपी एक कनेक्शन रहित प्रोटोकॉल है, जिसका अर्थ है कि यह डेटा संचारित करने से पहले एक समर्पित कनेक्शन स्थापित नहीं करता है। प्रत्येक यूडीपी डेटाग्राम (पैकेट) स्वतंत्र रूप से भेजा जाता है और गंतव्य तक पहुंचने के लिए अलग-अलग रास्ते ले सकता है। यह टीसीपी की तुलना में यूडीपी को तेज और अधिक कुशल बनाता है। 

2. Unreliable Delivery:-UDP does not provide any built-in mechanisms for guaranteed delivery, ordering, or error recovery. It simply sends data packets (datagrams) from the source to the destination without any acknowledgment or retransmission. Thus UDP is suitable for applications where occasional data loss is acceptable, or where error recovery is handled at the application layer.
2. अविश्वसनीय डिलीवरी:- यूडीपी गारंटीकृत डिलीवरी, ऑर्डर देने या त्रुटि सुधार के लिए कोई अंतर्निहित तंत्र प्रदान नहीं करता है। यह बिना किसी पावती या पुन: प्रसारण के स्रोत से गंतव्य तक डेटा पैकेट (डेटाग्राम) भेजता है। इस प्रकार यूडीपी उन अनुप्रयोगों के लिए उपयुक्त है जहां सामयिक डेटा हानि स्वीकार्य है, या जहां एप्लिकेशन स्तर पर त्रुटि पुनर्प्राप्ति को नियंत्रित किया जाता है।

3. Low Overhead:- UDP has minimal overhead compared to TCP. It has a small header (8 bytes) that includes source and destination port numbers, length, and checksum fields. It makes UDP useful for applications that require fast and efficient communication, such as real-time audio/video streaming or online gaming.
3. निम्न ओवरहेड:- टीसीपी की तुलना में यूडीपी में न्यूनतम ओवरहेड है। इसमें एक छोटा हेडर (8 बाइट्स) है जिसमें स्रोत और गंतव्य पोर्ट नंबर, लंबाई और चेकसम फ़ील्ड शामिल हैं। यह यूडीपी को उन अनुप्रयोगों के लिए उपयोगी बनाता है जिनके लिए तेज और कुशल संचार की आवश्यकता होती है, जैसे रीयल-टाइम ऑडियो/वीडियो स्ट्रीमिंग या ऑनलाइन गेमिंग।

4. Datagram Structure:-UDP data is divided into individual datagrams, each with its own header. Each datagram is treated as an independent unit and can be delivered, lost, or reordered without affecting other datagrams. It reduces the protocol's complexity and overhead.
4. डेटाग्राम संरचना: - यूडीपी डेटा को अलग-अलग डेटाग्राम में विभाजित किया जाता है, प्रत्येक का अपना हेडर होता है। प्रत्येक डेटाग्राम को एक स्वतंत्र इकाई के रूप में माना जाता है और अन्य डेटाग्राम को प्रभावित किए बिना वितरित, खोया या पुन: व्यवस्थित किया जा सकता है। यह प्रोटोकॉल की जटिलता और ओवरहेड को कम करता है।

5. Broadcast and Multicast Support:- UDP supports broadcast and multicast transmission. Broadcast allows a single UDP datagram to be sent to all devices on a network, while multicast enables a single datagram to be sent to multiple specified hosts or groups simultaneously.
5. ब्रॉडकास्ट और मल्टीकास्ट सपोर्ट:- यूडीपी ब्रॉडकास्ट और मल्टीकास्ट ट्रांसमिशन को सपोर्ट करता है। ब्रॉडकास्ट एक एकल यूडीपी डेटाग्राम को नेटवर्क पर सभी उपकरणों पर भेजने की अनुमति देता है, जबकि मल्टीकास्ट एकल डेटाग्राम को एक साथ कई निर्दिष्ट होस्ट या समूहों को भेजने में सक्षम बनाता है। 

6. Usage Scenarios:- UDP is commonly used in Media streaming , VoIP, online gaming, DNS, SNMP and IoT applications. These applications often prioritize speed and low latency over guaranteed delivery and error recovery.
6. उपयोग परिदृश्य:- यूडीपी का उपयोग आमतौर पर मीडिया स्ट्रीमिंग, वीओआईपी, ऑनलाइन गेमिंग, डीएनएस, एसएनएमपी और आईओटी अनुप्रयोगों में किया जाता है। ये एप्लिकेशन अक्सर गारंटीकृत वितरण और त्रुटि पुनर्प्राप्ति पर गति और कम विलंबता को प्राथमिकता देते हैं।

7. Lightweight Application Layer Support: UDP provides a barebones transport service, and any required reliability, error handling, or sequencing must be implemented at the application layer. This gives developers greater flexibility and control but also places more responsibility on the application to handle these aspects.
7. लाइटवेट एप्लिकेशन लेयर सपोर्ट: UDP एक बेअरबोन्स ट्रांसपोर्ट सर्विस प्रदान करता है, और किसी भी आवश्यक विश्वसनीयता, एरर हैंडलिंग, या सीक्वेंसिंग को एप्लिकेशन लेयर पर लागू किया जाना चाहिए। यह डेवलपर्स को अधिक लचीलापन और नियंत्रण देता है, लेकिन इन पहलुओं को संभालने के लिए एप्लिकेशन पर अधिक जिम्मेदारी भी डालता है।

No comments:

Post a Comment

Data Link control Flow and Error Control

 In data communication, Data Link Control (DLC) refers to the services and protocols that ensure reliable and efficient communication betwee...