add udp example and log