Home » Network (LAN/WAN) » What is the difference between TCP and UDP?

What is the difference between TCP and UDP?

TCP is a connection oriented protocol, which means that everytime a packet is sent say from host A to B, we will get an acknowledgement. Whereas UDP on the other hand, is a connection less protocol.

Where will it be used : TCP -> Say you have a file transfer and you need to ensure that the file reaches intact, and time is not a factor, in such a case we can use TCP.

UDP-> Media Streaming, question is say you are watching a movie…would you prefer that your movie comes..perfectly….but u need to wait a long time before you see the next frame ?..or would you prefer the movie to keep streaming…Yes…The second option is definely better….This is when we need UDP

Print Friendly

Leave a comment

Your email address will not be published. Required fields are marked *


1 + = 4


Visitors Count

Subscriber Count

    3982
May 2017
M T W T F S S
« Apr    
1234567
891011121314
15161718192021
22232425262728
293031