Skip to content

st3b1t/libp2p-nodejs-playground

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

libp2p NodeJS Playground

install all dependencies

$ npm install

1. Local Area Network Messages Broadcasting

Run in one terminals with different PORT or in differente machines in the same Local netowork

node tcp_pubsub_message.js PORT

and type a message ENTER to send in brocast to all other peers

2. Local Area Network p2p via Multicast DNS

Run in one terminals with different PORT or in differente machines in the same Local netowork

node websocket_lan.js PORT

any new peer is connected and discover automatically the others

image