Skip to content

chetans0202/Chat-Messenger

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Chat Messenger with Peer-to-Peer Communication

A chat application that allows peer-to-peer communication, developed using Java Socket Programming. The application enables users to send and receive text messages in real-time, ensuring direct communication without a server.

Features

  • Peer-to-Peer Communication: Direct communication between two users without the need for a central server.
  • Real-time Chat: Text-based messaging with immediate transmission between users.
  • Message Logging: Maintains chat records periodically for later reference.
  • Platform-independent: Can run on different platforms due to the use of Java, ensuring broad compatibility.

Technologies Used:

  • Java Socket Programming (for peer-to-peer communication)
  • Java (for application development)

Setup Instructions:

  1. Clone the repository:
    git clone https://github.com/chetans0202/Chat-Messenger.git
  2. Compile the code:
    javac Client.java
    javac Server.java
  3. Run the server:
    java Server
  4. Run the client (on a different terminal or machine):
    java Client
  5. Start chatting!

Contributing

Feel free to fork the repository and submit pull requests if you'd like to contribute.

License

This project is open-source and available under the MIT License.

About

A peer-to-peer chat application developed using Java socket programming for real-time communication with logging functionality for chat records.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages