Question: how udp is different from tcp?
Answer: UDP stands for User Datagram Protocol. Recall that a datagram and a packet are more or less the same thing. UDP, also built on top of the IP protocol, works similarly to TCP, but is simpler and faster. The main difference is that UDP doesn't require the recipient to acknowledge that each packet has been received.