Do you want BuboFlash to help you learning these things? Or do you want to add or correct something? Click here to log in or create user.



Question
In linux, in networking packets are sent mostly by using either TCP or UDP protocals, what is the difference between the two protocals?
Answer

TCP guarantees accuracy by ensureing packets are all recieved and order is maintained (by using acks and order/offset numbers in the TCP header)

On the other hand, UDP does not offer accuracy but instead offers speed since has less overhead (i.e. lighter headers) so it is faster but there is no guarantee of preventing packet loss. So UDP is ok in things like live streams (as speed is more important that accuracy)


Question
In linux, in networking packets are sent mostly by using either TCP or UDP protocals, what is the difference between the two protocals?
Answer
?

Question
In linux, in networking packets are sent mostly by using either TCP or UDP protocals, what is the difference between the two protocals?
Answer

TCP guarantees accuracy by ensureing packets are all recieved and order is maintained (by using acks and order/offset numbers in the TCP header)

On the other hand, UDP does not offer accuracy but instead offers speed since has less overhead (i.e. lighter headers) so it is faster but there is no guarantee of preventing packet loss. So UDP is ok in things like live streams (as speed is more important that accuracy)

If you want to change selection, open document below and click on "Move attachment"

26. TCP and UDP
ns, for which single packet transmissions are desired, or voice transmissions for which reducing lag time is more important than data integrity. Another is NFS (Network File System), which uses <span>UDP to implement exclusively high bandwidth data transfer. With UDP the programmer sends and receives individual packets, again encapsulated within IP. Ports are used in the same way as wit

Summary

statusnot learnedmeasured difficulty37% [default]last interval [days]               
repetition number in this series0memorised on               scheduled repetition               
scheduled repetition interval               last repetition or drill

Details

No repetitions


Discussion

Do you want to join discussion? Click here to log in or create user.