Skip to content

Latest commit

 

History

History
31 lines (14 loc) · 673 Bytes

README.md

File metadata and controls

31 lines (14 loc) · 673 Bytes

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