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
What is the ip command?
What is port address?
Tell me about IPv4 and IPv6.
Can ip addresses be shared?
What is sockets?
Which layer is closer to the user?
How will my computer get its ip address?
How can I tell if port 445 is open?
What is echo in networking?
What protocols fall under the application layer of the tcp/ip stack?
What is the pdu of "network layer" and "data link layer"?
Explain how does tcp try to avoid network meltdown?
What two things constitute a tcp ip socket?
Who uses semaphore?
What is routing protocol?