News for hackers. Stuff that matters.
Re:Dnode - language agnostic asynchronous RPC built on socke... by thirty-thirty on Thursday May 12, 2011 @12:20AM (#2539454)

  var dnode = require('dnode')
  dnode(function(client){
    this.is = function(cb){client.what(function(data){cb(data+' is awesome!')})}
  }).listen(3003).on('ready', function(){
    dnode({what:function(cb){cb('dnode')}}).connect(3003,function(server){
      server.is(function(data){console.log(data)})
    })
  })

There are no comments on this comment yet.