How does UDP work if it is a connectionless protocol?

743 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

It isn’t connectionless in that there isn’t a connection between A and B. It’s connectionless in that the two endpoints don’t handshake with each other before data comes in.

If you have a UDP protocol, you just send UDP packets to the recipient and hope they get them. Essentially, all the logic of ensuring the data got to the other end is left up to the application level rather than part of the network protocol.

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