add udp code into testclient