Changed pointer parameters in udpPrepare() and sendUdp() to be const