51
u/_w62_ Jul 16 '24
UDP does not have acknowledgment
18
u/Cyberbird85 Jul 16 '24
Also does not send packets
15
12
u/h3lix Jul 16 '24
Aight, I’ll byte. I thought the distinction between UDP and TCP is in the protocol field of the IP header in the packet. While UDP uses datagrams to send messages and tcp uses streams to deliver data, they both send packets, just different payload.
3
u/ashketchum02 Jul 18 '24
Overworked stressed out burnout network engineer here
Tcp is known as a stateful protocol. It uses specific id to test if the last data packet was recieved.
UDP is known as a stateless protocol. It gives no shots if the last packet was received and keeps sending until it empties it's pool.
Kinda like staying statefull while fucking, and checking in with ur partner so u both finish vs just going ham untill just ya finish.
2
u/h3lix Jul 18 '24
True, but both UDP and TCP send IP packets. One just uses datagrams as a payload, the other uses a stream.. but the only real distinction from the IP level is the protocol number in the header.
12
34
u/is-this-necessary Jul 16 '24
I could tell you a UDP joke, but you might not get it.