#1
22nd November 2011, 12:59 AM
|
|||
|
|||
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
|
|||
|
|||
Re: Difference between UDP and TCS? Where do we use UDP and TCP?
Quote:
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
|
|||
|
|||
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. |
|