- Compile the Java source file, NonblockingServer11Example.java:
javac NonblockingServer11Example.java
- Run the class on one machine:
java NonblockingServer11Example
- 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 ClientToNonblockingServer11 server-host-machine
- Start more than one connection at a time, if possible.