How does UDP work if it is a connectionless protocol?

744 views

There are two main connection protocols: TCP and UDP, and the latter is a “connectionless” protocol, so how is data transferred if there is no established connection between sender and recipient?

In: 1

9 Answers

Anonymous 0 Comments

To answer this question, you need to know what a “connection” really is. All a connection is is an agreement between two computers that if any packets get dropped or corrupted while they’re traveling across the internet, the sender resends the packets. This is done by a handshaking algorithm. In UDP, there is no agreement. If a packet gets lost, the sender doesn’t have to resend the packet.

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