https://github.com/lucaazalim/ldamd-multicast-chat
Simple multicast chat in Java.
https://github.com/lucaazalim/ldamd-multicast-chat
chat java multicast networking
Last synced: about 1 month ago
JSON representation
Simple multicast chat in Java.
- Host: GitHub
- URL: https://github.com/lucaazalim/ldamd-multicast-chat
- Owner: lucaazalim
- Created: 2025-02-09T03:32:30.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-02-09T04:25:02.000Z (over 1 year ago)
- Last Synced: 2026-03-31T19:55:24.688Z (2 months ago)
- Topics: chat, java, multicast, networking
- Language: Java
- Size: 12.7 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 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:
```sh
mvn clean install
```
## Usage
1. Run the application:
```sh
mvn exec:java -Dexec.mainClass="br.ldamd.Main"
```
2. Follow the prompts to enter your username and the room number.
## Running Tests
To run the unit tests, use the following Maven command:
```sh
mvn test
```