the UDP sample of client side