rewrote the server to use UDP instead of TCP