Skip to content

Latest commit

 

History

History
37 lines (32 loc) · 1.45 KB

README.md

File metadata and controls

37 lines (32 loc) · 1.45 KB

LetsChat

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.

Features

  • 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.

Getting Started

  1. Clone the Repository:
    git clone https://github.com/Shanmukha18/LetsChat.git
    cd LetsChat
  2. Compile and Run Server File:
    javac Server.java
    java Server

Server

  1. Compile and Run Client File:
    • Open a new tab in the terminal.
    cd LetsChat
    javac Client.java
    java Client

Client 4. Usage:

  • 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.

Dependencies

  • No external dependencies beyond standard libraries

Contributing

  • Fork the repository and create a pull request for any improvements or features.