# dnode-swarm **Repository Path**: mirrors_mikeal/dnode-swarm ## Basic Information - **Project Name**: dnode-swarm - **Description**: Free and reliable audio calls for everyone. - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-08-09 - **Last Updated**: 2025-09-27 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # dnode swarm This library implements a swarm of remote rpc peers. It uses: * upnode (reliabilty layer on top of dnode) * bittorrent-dht (decentralized peer info) ## Usage ```javascript var opts = {} opts.rpc = {echo: (text, cb) => cb(null, text)} opts.infoHash = new Buffer(20).fill('testing-').toString('hex') var s1 = createSwarm(opts) var s2 = createSwarm(opts) // This will print twice, one is the connection to itself // the other is the connection to s2 s1.remotes().forEach(remote => { remote.echo('test', (null, text) => console.log(text)) }) ```