TCP vs UDP Protocol in Hindi || Difference between TCP vs UDP Protocol in Hindi ||

आज के इस ब्लाग में हम जानेगें कि TCP Protocol & UDP Protocol में क्या अंतर हैं। आज का ये ब्लाग बहुत important हैं क्योंकि interview में TCP & UDP से हमेशा सवाल पूछे जाते हैं।

TCP & UDP Protocol TCP/IP Model की Transport Layer की Protocols हैं जिनका use Internet पर Host के बीच में data transmitting के लिये किया जाता है या internet के उपर data packet को भेजने के लिये TCP & UDP Protocol का use किया जाता है। हम इन दोनो protocol में क्या difference हैं इन्हे एक एक करके समझते हैं -

Difference between TCP vs UDP -

1. Connection -

TCP एक connection oriented protocol हैं जिसका मतलब ये हैं कि TCP data भेजने से पहले दूसरे computer or host के साथ एक connection बनाती हैं और उसके बाद ही data send करती हैं और एक बार जब पूरा data send हो जाये उसके बाद उस connection को terminate कर दिया जाता है।

UDP एक connectionless protocol हैं जिसका मतलब ये हैं कि UDP data भेजने से पहले किसी प्रकार का connection नही बनाती हैं। UDP हर data packet को अलग मानकर एक एक से reciever को भेजती हैं।

2. Reliability

TCP एक reliable protocol हैं क्योंकि ये data भेजने से पहले reciever end के साथ connection तो बनाती ही हैं और साथ ही साथ कुछ और mechanism का use करके data send करती हैं। TCP में message के पहुंचने की guarantee होती हैं इसलिये TCP reliable protocol हैं।

UDP एक unreliable protocol हैं मतलब इसमे message पहुंचेगा या नही इसकी कोई guarantee नही होती हैं।

3. Message Order -

TCP में sender जिस order में message भेजता हैं reciever को वो उसी order में मिलता हैं। Example - sender ने reciever Hi, How are you? message भेजा तो reciever को भी Hi, How are you? message ही मिलेगा। ऐसा हो सकता है कि transmission के दौरान message का order change हो सकता है परन्तु reciever end पर उसे उसी order में convert कर दिया जाता है जैसा sender ने भेजा था।

UDP में ये जरूरी नही हैं कि Sender ने जिस order में message को भेजा, reciever को उसी order में वो message मिले। Example - sender ने reciever Hi, How are you? message भेजा तो reciever को भी Hi, How are you? message मिलेगा ये जरूरी नही हो सकता है reciever को How, Hi you are ? मिले।

4. Heavy Weight -

TCP एक heavy weight protocol हैं क्योंकि TCP packet में sequence number, acknowledgement number, flags, padding और भी ऐसी कई सारी information होती है जो इसे Heavy Weight protocol बनाती हैं।

UDP एक light weight protocol हैं क्योंकि UDP packet में बहुत कम information होती हैं जो इसे light weight बनाती हैं। 

5. Speed -

TCP एक Slow Speed Protocol हैं क्योंकि TCP में connection बनाना, message order manage करना और भी कई mechanism है जो TCP को एक slow protocol बनाते हैं।

UDP एक Fast Speod protocol हैं क्योंकि ये किसी प्रकार ना connection बनाती है और ना ही message order manage करती हैं। ये सीधे Source Port Address & Destination Port Address & UDP Checksumके साथ message भेज देती हैं।

6. Flow Control -

TCP का Flow के ऊपर control होता हैं। TCP Sliding Window mechanism का use करके flow को control करती हैं। जिससे congestion नही होता है।

UDP का Flow के ऊपर कोई control नही होता है। जिसके कारण congestion जैसी समस्या हो सकती हैं।

7. Popular Protocols Example -

HTTP/S, Telnet , FTP,  SMTP etc. protocols TCP का use करते हैं।

DHCP, DNS, SNMP, TFTP etc. protocols UDP का use करते हैं।

8. TCP vs UDP Packet -

Thanks Have a Gud Day/Night
Follow for more updates


(Label - tcp vs usp in hindi,what is the difference between tpc and udp protocol,diffrence between tcp vs udp protocol in hindi)

Post a Comment

0 Comments