listen on UDP and TCP