Added type size to size in udp send

Min packets are properly sized before being sent to server.