Node.js and piping a ConnectionListener

Viewed 6124

The Node.js documentation provides an example for creating an echo server:

var net = require('net');
var server = net.createServer(function (c) {
  c.write('hello\r\n');
  c.pipe(c);
});
server.listen(8124, 'localhost');

What purpose does this line serve?

  c.pipe(c);
1 Answers
Related