it is kown that udp is a layer 4 and ip is a layer 3 protocol. but they both can transfer packets over a connectionless and unreliable protocol. so why do we need to use udp where udp and ip are doing the same function? cant ip be enough to do that function alone?
i know udp works over port no. 80 but ip has no port.