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 are the 4 layers of tcp ip?
Can two ip addresses use same port?
Who wrote indian penal code?
How do I check if a port is open?
How does interprocess communication work?
How do I find my ip address in terminal?
What is the advantage of packet switching?
How to categorized ip address?
What list of calls are used to establish a tcp and/or udp socket connection?
How do I find my servers ip address?
What is the use of internet addresses?
How does tcp try to avoid network meltdown?
Is netbios needed?
What are the function of Transmission Control Block?
How do I locate my ip address?