Rewrote code for UDP to send data only