udp client code that was not tested