Skip to content

This messaging app is built using the TCP protocol and allows users to communicate with each other via broadcast messages and private messages.

Notifications You must be signed in to change notification settings

M-i-c-a-h/ChatMeApp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 

Repository files navigation

ChatMe

Messaging App with TCP Protocol

Description

This messaging app is built using the TCP protocol and allows users to communicate with each other via broadcast messages and private messages. The app runs locally on the user's machine and consists of two main components: a server application and a client application. Multiple threads are used to handle concurrent connections and messaging functionalities.

Features

  • Broadcast Messages: Users can send messages that will be broadcast to all online users.

  • Private Messages: Users can send private messages to specific online users.

  • Threaded Architecture: The app utilizes multiple threads to handle concurrent connections and managing functionalities efficiently.

  • Server Application: Handles incoming connections from clients, manages user sessions, and facilitates message broadcasting and private messaging.

  • Client Application: Allows users to connect to the server, send messages, and receive messages from other users.

  • Localhost: The app runs on localhost, enabling communication within the user's local network.

    Screenshots

    Screenshot1

Screenshot 2024-04-14 at 10 38 14 AM

Screenshot2

Screenshot 2024-04-14 at 10 38 54 AM

Screenshot3 Screenshot 2024-04-14 at 11 03 58 AM

Screenshot4 Screenshot 2024-04-14 at 11 09 43 AM

Installation

  • Clone the repository to your local machine:
git clone https://github.com/yourusername/messaging-app.git
  • Navigate to the project directory:
  • Compile and run the server application using maven config:
clean compile exec : java
  • Compile and run the client application using maven config:
clean compile exec : java
  • check allow multiple instances [modify options tab]

This program requires Java and JavaFX to be installed on the local machine to run. Follow the suggestions in the link to install packages. https://docs.oracle.com/javafx/2/installation/jfxpub-installation.htm

Contributing

Contributions are welcome! If you have any ideas for improvements or new features, feel free to submit a pull request or open an issue.

Credits

This project was created as a CS342 coursework by Micah Olugbamila under the instructions of Prof Evan McCarty.

License

This project is licensed under the MIT License.

About

This messaging app is built using the TCP protocol and allows users to communicate with each other via broadcast messages and private messages.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages