Multithreading Java server Server.java
Each concurrent thread
Start server on host Minerva in directory with big file data.txt
| minerva% java Server |
Establish socket connection from Castor to server using telnet
| castor% telnet minerva 2200 |
| ... |
Establish socket connection from Pollux to server using telnet
| pollux% telnet minerva 2200 |
| ... |
Quickly enter data.txt in terminal windows on Castor and Pollux.
Contents of file should be listed concurrently in both windows.