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
Which layer would the Transmission Control Protocol TCP be in? and is used in which layer.
Why shared memory is faster than message queue?
Is there a list of private addresses?
Do sockets use tcp?
How do I find out what service is using a port?
What does multiple access mean?
How do I type ipconfig in cmd?
which osi layer consists of characteristics like acknowledgement, flow control and sequencing?
What is the purpose of message queue?
What is tcp ip layers?
Explain what is routing protocol and its purposes?
What port number is 8080?
Tell me about IPv4 and IPv6.
How do you ipconfig all?
How do I get computer name from ip address?