add code to UDPClient and UDPServer