what is the different between TCP and UDP?

Answer Posted / rajarr

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.
UDP on the other hand, is a connection less protocol.

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

Is This Answer Correct ?    6 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is netsh interface?

782


Explain the basic difference between tcp/ip and osi model.

851


Explain how names are translated (resolved) into ip address?

852


How do I check if a port is open?

839


Who uses semaphore?

860


What is a connection gateway?

992


What happens when multiple applications open multiple tcp connections?

926


Do switches use ip addresses?

818


What is ipconfig command?

881


What is tcp ip in networking?

844


Explain does ip protect data on the network?

846


What are the various protocols in the TCP/IP model?

844


Are sockets tcp?

809


How do tcp sockets work?

774


What is difference between tcp and ip?

810