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 can an ip address tell me?

824


How do I locate my ip address?

818


How do I find my ip address in terminal?

850


What is j std 001 class 3?

896


What is an ip address?

898


How do I find out what program is using a port?

837


How do I type ipconfig in cmd?

877


Differentiate between - TCP header and UDP header

883


How do I know if my ftp port 21 is blocked?

758


Can two websites have same ip address?

793


How do you tell what ports are open on router?

798


at which layer of osi model does segmentation of a data stream happen?

910


Can the IP address same for 2 pcs?

855


What is the port number of telnet and dns?

886


What is a loopback address?

841