#1  
22nd November 2011, 12:59 AM
lalitkumar553
 
Join Date: Nov 2011
Posts: 1

Difference between UDP and TCS? Where do we use UDP and TCP?


What is difference between UDP and TCP? where are we use UDP and TCP?




  #2  
23rd November 2011, 12:16 AM
melwynjensen
Senior Member+++++
 
Join Date: Jan 2011
Location: Chennai
Posts: 3,213
Thumbs up Re: Difference between UDP and TCS? Where do we use UDP and TCP?

Quote:
Originally Posted by lalitkumar553 View Post
What is difference between UDP and TCP? where are we use UDP and TCP?

DIFFERENCE BETWEEN UDP AND TCP



UDP - User Datagram Protocol.

TCP - Transmission Control Protocol.


-> Both the protocols are used for transferring the data in the Internet.

-> The main difference between UDP and TCP is reliability and security level applied in both protocols.

-> TCP is basically reliable and more secured because it confirms that the information is reached successfully in the other end by receiving a acknowledgement.

-> While UDP is not reliable and less secured as there is no acknowledgement received in the other end but it just focus on the data transfer alone.

-> UDP is more time saving when compared to TCP but not reliable and secure.

-> Any more queries, feel free to leave a post in our forum...
  #3  
23rd November 2011, 01:53 AM
devesh2812
 
Join Date: Nov 2011
Posts: 123
Smile Re: Difference between UDP and TCS? Where do we use UDP and TCP?

Both TCP and UDP work at transport layer TCP/IP model, but have very different usage.

The most important differences are:

* Reliability:
TCP: connection-oriented
UDP: connectionless
* Ordered:
TCP: order of message receipt is guaranteed
UDP: order is not guaranteed
* Protocol weight:
TCP: heavyweight, because of the connection/ordering overhead
UDP: lightweight, very few overhead
* Packets:
TCP: streaming, data is read as a "stream," with nothing distinguishing where one packet ends and another begins. There may be multiple packets per read call.
UDP: datagrams, one packet per one read call.
Do you have any question? or have anything to say?





Powered by vBulletin® Version 3.8.3
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.0
vBulletin Optimisation by vB Optimise.
Please also check: