Skip to content

lucaazalim/ldamd-multicast-chat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Multicast Chat

This repository contains a simple chat application implemented in Java. The application allows users to join chat rooms, send messages, and receive messages asynchronously using multicast sockets.

This was built as an assignment for the Laboratory of Mobile and Distributed Applications Development course at the PUC Minas university.

Features

  • Join and leave chat rooms
  • Send and receive messages
  • Asynchronous packet receiving
  • Exception handling for connection states

Requirements

  • Java 23
  • Maven

Installation

  1. Clone the repository.
  2. Build the project using Maven:
mvn clean install

Usage

  1. Run the application:
mvn exec:java -Dexec.mainClass="br.ldamd.Main"
  1. Follow the prompts to enter your username and the room number.

Running Tests

To run the unit tests, use the following Maven command:

mvn test

About

Simple multicast chat in Java.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages