1. Run server.java 2. Run client.java 3. Pass message from client to server 4. pass message from server to client 5. you can connect other clients as well 6. static integer client_number is used to keep the track of client number and identify the clients in the chat. 7.send "bye" from client terminal to exit the client.