change to UDP mode