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 the structure and use of internet addresses?

620


What is difference between port number and ip address?

593


What are the protocols used in Application layer?

651


How do I check if a port is open on my mac?

583


What is the differance between HTTP and TCP/IP Protocols?

691






netmeeting in vista

2062


Does http request contain ip address?

571


What is shared memory in os?

615


Is port 80 and 8000 the same?

685


Why tcp ip is more reliable?

614


What is the use of predictive encoding?

692


What is j std 001 class 3?

629


How names are translated (resolved) into ip address?

573


How do I check if a port is open?

594


How do I know which is private ip address and which is public ip address?

627