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.
- Join and leave chat rooms
- Send and receive messages
- Asynchronous packet receiving
- Exception handling for connection states
- Java 23
- Maven
- Clone the repository.
- Build the project using Maven:
mvn clean install- Run the application:
mvn exec:java -Dexec.mainClass="br.ldamd.Main"- Follow the prompts to enter your username and the room number.
To run the unit tests, use the following Maven command:
mvn test