How to make a UDP server to sent and recieve data?