udp framework for listening and sending host