install all dependencies
$ npm install
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
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