deal with UDP