It consists of four modules: udt.js, httpp.js, udts.js, httpps.js, that keeps the same api like net.js/http.js/tls.js/https.js.
It's simple to use node-httpp: 1. replace net with udt, http with httpp, tls with udts, https with httpps when require net/http/tls/httpps modules. 2. do the rest as http.
To build it manually, clone the repository and checkout v0.8-httpp branch firstly, then do steps as below.
discussion group: https://groups.google.com/d/forum/iwebpp
Wiki page: https://github.com/InstantWebP2P/node-httpp/wiki/An-introduction-to-node-httpp
- Run http and https over udp, taking udp high data transfer performance
- Configurable Congestion Control
- Per-socket network performance monitor
- Per-socket bandwidth limitation
- Multiplex connections on single udp port, saving system resources
- Extend client/central server style web service transparently
- Easy to use API, reuse existing http/web and node.js technology
- Support windows/linux/OSx, RaspberryPi, Android
- Support iOS, WP8
- Make node-httpp as Node.js module instead of fork
- Add more test cases
- Improve documents, RFC draft
- UDT4 - http://udt.sourceforge.net/
To checkout the sourcecode:
git clone https://github.com/InstantWebP2P/node-httpp.git
git checkout v0.8-httpp
Prerequisites (Unix only):
* Python 2.6 or 2.7
* GNU Make 3.81 or newer
* libexecinfo (FreeBSD and OpenBSD only)
Unix/Macintosh:
./configure
make
make install
Cross compile for Raspberry Pi:
setup toolchain env first, then
source cross-compile-pi.sh
Cross compile for Android:
setup Android NDK env first, then
source android-configure NDK_PATH
make -C out
If your python binary is in a non-standard location or has a non-standard name, run the following instead:
export PYTHON=/path/to/python
$PYTHON ./configure
make
make install
Windows:
vcbuild.bat
Unix/Macintosh:
make test
Windows:
vcbuild.bat test
make doc
man doc/node.1