Skip to content

hwngng/P2PChatApp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

P2P Chatting Application

Description

Apply P2P network into chatting

  • Send multiple consecutive chat message
  • Private chat with multiple user (multiple 1-1 conversations)

Prerequisite

Linux 4.4+

Instruction

Build

Run following command to build both client and server: make -C src To build only one server or client, run one of these commands: make -C src server make -C src client

Run

From root folder, run: ./bin/server or ./bin/client Cannot read db/account.txt if run from other folder.

Debug

We will debug via syslog. Monitor syslog file with those commands:

  • For server: tail -f -n -300 /var/log/syslog | grep "P2P Chat Server"
  • For client: tail -f -n -300 /var/log/syslog | grep "P2P Chat Client"

Demo

https://youtu.be/U_aO7b1js8g

About

P2P Chatting Application

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages