difference between udp vs tcp ????

1.03K views

difference between udp vs tcp ????

In: Technology

4 Answers

Anonymous 0 Comments

TCP is a robust layer 4 protocol that runs on top of the layer 3 IP protocol. It has lots of extra data added for redundancy such as error correction data. It’s really useful when data needs to arrive correctly.

UDP is a different layer 4 protocol running on IP. is slightly more fast and loose, it lessens the amount of error correction data to increase actual data. This is fine in some instances.

You *wouldn’t* use UDP to transfer your bank details, since the possibility of errors is much greater. Likewise, you *shouldn’t* use TCP for things like streaming video, since a bit error when streaming video is normally inconsequential and using TCP would be a waste of bandwidth.

You are viewing 1 out of 4 answers, click here to view all answers.