Skip to content

JavaMulticastChat is an interactive chat application built with Java that leverages multicast networking for real-time group communication. It features a simple GUI for users to join chat rooms, send, and receive messages instantly across a multicast group. Perfect for educational purposes or as a base for more complex chat solutions.

License

Notifications You must be signed in to change notification settings

JustCabaret/JavaMulticastChat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Multicast Chat Application

This project provides a multicast chat application implemented in Java. It utilizes the multicast socket capabilities to allow multiple users to join a chat group and communicate with each other in real-time. The application features a graphical user interface (GUI) for easy interaction.

Features

  • GUI for Interaction: A user-friendly interface that allows for seamless interaction with the chat functionalities.
  • Multicast Group Chat: Users can join a multicast group by specifying the group's IP and port number.
  • Real-time Messaging: Enables real-time message sending and receiving within the multicast group.
  • Timestamps and Sender IP: Displays each message with the sender's IP address and the time it was sent.

Preview

Captura de ecrã 2024-02-27 215208

Getting Started

Prerequisites

  • Java Development Kit (JDK) 21 or above.

Running the Application

  1. Clone the repository to your local machine.
  2. Navigate to the src/multicastChat directory.
  3. Compile the MulticastFrame.java file using javac MulticastFrame.java.
  4. Run the application using java multicastChat.MulticastFrame.

Usage

  • Upon launching the application, enter your name, the multicast group IP, and the port number.
  • Click "Join" to enter the chat room.
  • Write your message in the message box and click "Send" to broadcast it to all members of the group.
  • Click "Leave" to exit the chat room.

Contributing

Feel free to fork the project, submit pull requests, report bugs, or suggest features.

Authors

License

This project is licensed under the MIT License - see the LICENSE file for details.

About

JavaMulticastChat is an interactive chat application built with Java that leverages multicast networking for real-time group communication. It features a simple GUI for users to join chat rooms, send, and receive messages instantly across a multicast group. Perfect for educational purposes or as a base for more complex chat solutions.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages