var urandom = require('fs').createReadStream('/dev/urandom'); | |
process.on('uncaughtException', function(e) { | |
console.log(e); | |
}); | |
require('net').createServer(function(socket) { | |
urandom.pipe(socket); | |
}).listen(10101); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment