check null address before udp send