blob: 1b6f2d82966d9f7548b32b8ede3af10ad3df577e [file] [log] [blame]
var veyron = require('veyron');
veyron.init(function(err, rt){
if (err) throw err;
rt.bindTo('pingpong', function(err, s){
if (err) throw err;
s.ping('PING', function(err, pong){
if (err) throw err;
console.log(pong);
process.exit(0);
});
});
});