Problem with UDP packets

    Udp.beginPacket(Udp.remoteIP(192.168.1.10), Udp.remotePort(8080));

UDP.remoteIP() returns the current remote address, it doesn't take a parameter. The same is true of UDP.remotePort(). See the example at Ethernet - Arduino Reference