Adding controls for udp communication