Cross-platform asynchronous I/O
Go to file
Ben Noordhuis b6b97f305e uv-unix: guard against self-close by connection_cb
connection_cb may close the server socket inside the accept loop, handle it.

Fixes failing node.js tests:
  test/simple/test-net-connect-buffer.js
  test/simple/test-net-create-connection.js
2011-08-11 00:33:09 +02:00
deps/pthread-win32 Peter Bright's MSVS fixes 2011-08-06 22:36:59 -07:00
doc Remove desired-api.md 2011-08-09 12:23:41 -07:00
include uv-unix: close file descriptors immediately in uv_close() 2011-08-09 23:14:38 +02:00
src uv-unix: guard against self-close by connection_cb 2011-08-11 00:33:09 +02:00
test Include important Windows environmental variables even when a blank/custom environment is specified. 2011-08-09 14:29:51 -07:00
.gitignore Ignore VC++ files. 2011-08-09 14:37:02 -07:00
all.gyp Add header files to gyp script 2011-08-10 22:58:09 +02:00
AUTHORS Add Matt to the authors 2011-06-28 14:11:47 +02:00
common.gypi Move gyp files to root 2011-08-10 22:58:00 +02:00
config-mingw.mk EIO_CONFIG_H not used on MinGW 2011-08-09 10:30:25 -07:00
config-unix.mk Bring back standalone makefiles for a better transition 2011-08-08 13:42:01 -07:00
create-msvs-files.bat Polish create-msvs-files script 2011-08-10 22:58:06 +02:00
gyp_uv Move gyp files to root 2011-08-10 22:58:00 +02:00
LICENSE Add pthread-win32 temporarily 2011-08-06 19:05:13 -07:00
Makefile Bring back standalone makefiles for a better transition 2011-08-08 13:42:01 -07:00
README Bring back standalone makefiles for a better transition 2011-08-08 13:42:01 -07:00

This is the new networking layer for Node. Its purpose is to abstract
IOCP on windows and libev on Unix systems. We intend to eventually contain
all platform differences in this library.

http://nodejs.org/

= Build Instructions

For GCC (including MinGW) there are two methods building: via normal
makefiles or via GYP. GYP is a meta-build system which can generate MSVS,
Makefile, and XCode backends. It is best used for integration into other
projects.  The old (more stable) system is using Makefiles.

To build via Makefile simply execute:

    make

To build with Visual Studio run the create-msvs-files.bat file which will
checkout the GYP code into build/gyp and generate the build/all.sln and
related files.

To have GYP generate build script for another system you will need to
checkout GYP into the project tree manually:

    svn co http://gyp.googlecode.com/svn/trunk build/gyp

And then run 

    ./build/gyp_uv -f make

or 

    ./build/gyp_uv -f xcode


= Supported Platforms

Microsoft Windows operating systems since Windows XP SP2. It can be built
with either Visual Studio or MinGW.

Linux 2.6 using the GCC toolchain.

MacOS using the GCC or XCode toolchain.

Solaris 121 and later using GCC toolchain.