LetsChat is a multithreaded client-server chat application with a text interface. Users can connect, broadcast messages, and send private messages to specific users on the server.
- Multithreaded Communication: Supports simultaneous connections and messaging.
- Broadcast Messaging: Users can send messages to all connected users on the server.
- Private Messaging: Allows users to send private messages to specific individuals.
- Text Interface: Utilizes a straightforward text-based interface for ease of use.
- Clone the Repository:
git clone https://github.com/Shanmukha18/LetsChat.git cd LetsChat
- Compile and Run Server File:
javac Server.java java Server
- Compile and Run Client File:
- Open a new tab in the terminal.
cd LetsChat javac Client.java java Client
- Enter user name and follow on-screen instructions for broadcasting or sending private messages.
- To create another user follow step 3 once again
- we can see every change in the server terminal.
- No external dependencies beyond standard libraries
- Fork the repository and create a pull request for any improvements or features.