mirror of https://github.com/lukechilds/node.git
Browse Source
Just a syntactic sugar for doing, for example: var server = net.createServer(function (c) { c.end('goodbye, cruel world!\r\n'); server.close().on('close', function () { console.log('really, goodbye!'); }); }).listen(1337); Fixes #1922.v0.7.4-release
Maciej Małecki
13 years ago
committed by
koichik
1 changed files with 5 additions and 2 deletions
Loading…
Reference in new issue