https://github.com/tkhoa2711/chatnetwork
A private peer-to-peer chat application within a LAN
https://github.com/tkhoa2711/chatnetwork
lan network peer-to-peer
Last synced: 9 months ago
JSON representation
A private peer-to-peer chat application within a LAN
- Host: GitHub
- URL: https://github.com/tkhoa2711/chatnetwork
- Owner: tkhoa2711
- License: mit
- Created: 2016-11-27T02:28:29.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2016-12-12T05:32:01.000Z (over 9 years ago)
- Last Synced: 2025-07-28T00:25:01.861Z (11 months ago)
- Topics: lan, network, peer-to-peer
- Language: Java
- Size: 283 KB
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ChatNetwork
## Intro
The aim of this project is to develop a peer-to-peer application that allows users
to chat and share files with each other within a LAN. Chat messages are delivered
via UDP, while file sharing is done over TCP. It's also possible to enable encrytion
for file sharing. However, the current implementation is still very crude that it uses
a shared secret key for both encryption and decryption.
## Details
The protocol for messaging is inspired from IRC. In fact it's a much simpler version of IRC.
The project takes use of some of the [Apache Commons](https://commons.apache.org) project.
## Features
- Notification when someone joins or leaves the network
- Private chat
- Send file (to individual)
- Send file with encryption
## Execution
Run the `ChatNetwork.jar` file located at `out/artifacts/ChatNetwork/ChatNetwork.jar`
java -jar ChatNetWork.jar [port]
The port parameter is optional, the default value is `4000`.