UDP comms

Added the possibility to send the information via UDP.