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 does an ip address mean?

606


How do I find available ip addresses?

644


How do applications coexist over tcp and udp?

880


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

625


How do I find what ports are being used on my mac?

704






What are the different functions of each of the layer in TCP/IP model? What are the protocols associated with each layer?

643


What are the different layers in TCP/IP model? What are the protocols associated with each layer?

698


Can isp block ports?

595


What is port 110 used for?

628


What is the purpose of message queue?

601


How many layers are there under tcp/ip?

657


What port can I use instead of 80?

639


What is thread in computer architecture?

636


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

592


What is private ip and public ip?

630