All Projects → beaugunderson → Mdns Swarm

beaugunderson / Mdns Swarm

🐝 create a swarm of connected WebRTC peers using multicast DNS

Programming Languages

javascript
184084 projects - #8 most used programming language

mdns-swarm

create a swarm of connected webrtc peers using multicast DNS!

Example

Try this on two computers on the same network; for debug information you can run with DEBUG=mdns-swarm*.

var Swarm = require('./mdns-swarm.js');
var wrtc = require('wrtc');

var swarm = new Swarm('simple-swarm', {wrtc: wrtc});

swarm.on('peer', function (stream) {
  process.stdin.pipe(stream).pipe(process.stdout);
});
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].