Skip to content

Instantly share code, notes, and snippets.

View yosefd's full-sized avatar

Yosef Dinerstein yosefd

  • Microsoft
  • Israel
View GitHub Profile
@yosefd
yosefd / httpoverpipe
Created June 27, 2012 11:49
http over named pipe sample
var http = require('http');
var port = '\\\\.\\pipe\\nameofthepipe';
http.createServer(function (req, res) {
console.info('request received');
res.end('gotyou');
}).listen(port);
console.info('listening on:', port);