Skip to content

A private peer-to-peer chat application within a LAN

License

Notifications You must be signed in to change notification settings

tkhoa2711/ChatNetwork

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 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.

About

A private peer-to-peer chat application within a LAN

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published