Udp packet size
maximum size of a UDP datagram depends on lots of factors. The length field of the UDP header allows up to 65535 bytes of data. However, if you are sending your UDP packet across an Ethernet network, the Ethernet MTU is 1500 bytes, limiting the maximum datagram size. Also, some routers will attempt to fragment large UDP packets into 512 byte