I understand that UDP resides on the transport layer and IP on the internet layer. I also get that they\'re both connectionless and unreliable. Then what is the point of UDP whe
Once a packet reaches a host using its IP address, the packet needs to be given to one of the applications on this machine. To determine which application should get the packet, it needs demultiplexing logic, which is based on ports. UDP has port information which is used by IP to deliver the packet to appropriate application.