test a new UDP function