Adding a synchronized datagram socket.