binaryjs/binaryjs — pull request #23 by tmpvar (2012-10-19 21:55:31+00:00)
Title: add binary.createServer(fn) to be more like http.createServer

here's how I intend on using this

var
kinect = require('../../index').createStream('depth', null, 2),
ecstatic = require('ecstatic')(__dirname + '/static');

require('http').createServer(ecstatic).listen(10000);

require('binaryjs').createServer(function(conn) {
kinect.pipe(conn);
}).listen(10001),