Implement UDP sending and receiving