- Compile the Java source file, NonblockingServerExample.java:
javac NonblockingServerExample.java
- Run the class on one machine:
java NonblockingServerExample
- On a separate machine, or in a separate command line window,
run the client class as a separate program. The final
arguement, server-host-machine, should name the machine on which
your server process is running:
java ClientToNonblockingServer server-host-machine
- Start more than one connection at a time, if possible.