Skip to content

luisBazanDev/lb-p2p-lan-chat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

70 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LB P2P LAN CHAT | v0.1.0

It's a simple P2P chat based on LAN networks. It maintains two listening sockets: a UDP socket for discovery and a TCP socket for message transport.

screenshot1 screenshot2

Installation

Build

$ npm install
$ npm run build

Link

To register command and exec the chat with $ lb-p2p-lan-chat

$ npm link
$ lb-p2p-lan-chat

How?

connect-pairs-logic message-propagation

Disclaimer

This project is made for educational purposes and to understand how P2P mesh networks work.

About

It's a simple P2P chat based on LAN networks. It maintains two listening sockets: a UDP socket for discovery and a TCP socket for message transport.

Topics

Resources

License

Stars

Watchers

Forks

Contributors