Brian Antonishek (antonis@nist.gov) 10/06/2000 ****************************************************************** *** Running the Lego Server ****************************************************************** To get things working you need to first get the LegoServer process running on the machine which has the IR tower attached to its serial port. The command to run the server with java: Usage: java LegoServer [] default: 5678) PCs and Suns ------------ On Windows and Solaris, LegoServer uses the Java COMM API 2.0 extension for serial port communications. You just need to be sure that you have the Java COMM API extension installed correctly. See: http://java.sun.com/products/javacomm/index.html This is the quickest way to make sure your server is running correctly. ****************************************************************** *** Proxy Server ****************************************************************** If you try and run a Java applet client by connecting to the lego server make sure that you get the controlling java applet from a web server that is running on the same machine as the lego server. This is necessary because of the Java security feature that applets can only open sockets to the host from which they came. But, it is pretty simple setting up a proxy server application that can get around this situation. See the nice proxy server example from the javaExamplesInANutshell book at: http://www.davidflanagan.com/javaexamples ****************************************************************** *** ****************************************************************** Have fun! Let me know if you have any suggestions or get it running on any other platforms. Thanks! -Brian (antonis@nist.gov) -----------------------------------------------------------------------