mirror of
https://github.com/nodejs/node.git
synced 2026-11-09 15:11:11 -05:00
7ee29d1d5ba1655fa9f7a42afbe9ebf2f6e1c19f
Server.listen, Server.close and Socket.connect return this
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.
Evented I/O for V8 javascript.
To build:
Unix/Macintosh (requires python >= 2.5.2):
./configure
make
make install
Windows:
vcbuild.bat
To run the tests:
Unix/Macintosh:
make test
Windows:
vcbuild.bat test
To build the documentation:
make doc
To read the documentation:
man doc/node.1
Resources for Newcomers
Description
No description provided
3.5 GiB
0 Stars
1 Watchers
0 Forks
Languages
JavaScript
65.4%
C++
22.6%
Python
8.4%
C
2.1%
HTML
0.5%
Other
0.8%