You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
Ryan 1e5de42a75 allow null host parameter to listen on localhost 16 years ago
deps request.respond works 16 years ago
spec change HTTPServer constructor. Now: HTTPServer(host, port, onrequest); 16 years ago
test allow null host parameter to listen on localhost 16 years ago
.gitignore gitignore 16 years ago
.gitmodules add dependencies 16 years ago
Makefile allow null host parameter to listen on localhost 16 years ago
README add test/test_http_server_echo and 'make test' 16 years ago
http_api.js working towards working keep-alive. need tests 16 years ago
node.cc report errors from loaded files 16 years ago
node.h exit program on top level exceptions 16 years ago
node_http.cc allow null host parameter to listen on localhost 16 years ago
node_http.h rename module load function to Init_modulename(), like ruby 16 years ago
node_tcp.cc allow null host parameter to listen on localhost 16 years ago
node_tcp.h rename module load function to Init_modulename(), like ruby 16 years ago
node_timer.cc implement setInterval() 16 years ago
node_timer.h rename module load function to Init_modulename(), like ruby 16 years ago
tcp_example.js allow null host parameter to listen on localhost 16 years ago

README

WHEREAS, Evented, asynchornous programming better models reality; and

WHEREAS, Servers organized around event loops are more efficent; and

WHEREAS, The usage of threads has complicated computer programming; and

WHEREAS, Most operating systems do not provide asynchonous file system access.

WHEREAS, Javascript is a language without a concept of I/O or threads; and

WHEREAS, Users familar with using Javascript in the web browser already program using events and callbacks; and

WHEREAS, The V8 javascript comes free of I/O and threads; and

WHEREAS, The V8 javascript compiles Javascript code directly to Assembler; and

WHEREAS, The libev event loop abstraction provides access to the best event loop interface on each system.

Now, therefore:

This set server and client libraries were made to build simple but fast
servers. They are provided free of charge under a permissive simple license.

Submitted by
Ryah Dahl, Programmer
Tim Becker, Programmer
March 1, 2009