Fixed the UDP server and improved the documentation.