- javac Server_2015145.java
- sudo java Server_2015145
- Open new Terminal
- javac Client_2015145.java
- java Client_2015145
- Start Talking !!!!
Server starts the dialogue by saying Welcome to Server
and assigns a number to the server , then talking is done
in usual manner.
The client can exit in following ways
- Typing "exit"
- Control-C