announce node-httpp - run HTTP over UDP(HTTPP) with Node.js

382 views
Skip to first unread message

tom

unread,
Oct 27, 2012, 8:45:05 AM10/27/12
to nod...@googlegroups.com
node-httpp is the part of HTTPP, that stands for HTTP over UDP and bring Web in P2P style against client/central-server.

It consists of three modules: udt.js, httpp.js, httpps.js, all them keep the same api as net.js/http.js/https.js.

It's simple to use node-httpp:
1. replace net with udt, http with httpp, https with httpps when require net/http/httpps modules.
2. the rest of things is same as HTTP.

I opensouce it on github:

https://github.com/InstantWebP2P/node-httpp

Best regards
  Tom


Nathan Rajlich

unread,
Oct 27, 2012, 1:00:07 PM10/27/12
to nod...@googlegroups.com
Sounds pretty cool. How come you did it as a fork of node rather than
an external module?
> --
> Job Board: http://jobs.nodejs.org/
> Posting guidelines:
> https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
> You received this message because you are subscribed to the Google
> Groups "nodejs" group.
> To post to this group, send email to nod...@googlegroups.com
> To unsubscribe from this group, send email to
> nodejs+un...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/nodejs?hl=en?hl=en

tom

unread,
Oct 29, 2012, 4:03:05 AM10/29/12
to nod...@googlegroups.com
Making HTTPP as module or rewrite it in pure JS is a plan. 

Best regards
  tom

Dean Mao

unread,
Oct 29, 2012, 4:19:15 AM10/29/12
to nod...@googlegroups.com
hopefully it's a big plan then...  I don't think i'm going to recompile node just to try this out :-P

Nathan Rajlich

unread,
Oct 29, 2012, 11:50:28 AM10/29/12
to nod...@googlegroups.com
Tom, it is do-able (albeit undocumented) to hook into *which* stream
the Node "http" module uses. See my node-icecast Client class[0] for
an example. You should be able to return one of your "udt" streams in
the createConnection function and then the core "http" module would
use that.

This way you can do it in just JS and keep it an external module.

tom

unread,
Oct 29, 2012, 7:45:24 PM10/29/12
to nod...@googlegroups.com
I will distribute the binary release for easy usage in short term.

best regards
  Tom

Nathan Rajlich

unread,
Oct 29, 2012, 8:04:24 PM10/29/12
to nod...@googlegroups.com
Dude, -1. Nobody wants an unnecessary fork of node. Extract the code
so it can be used as a proper external module and I guarantee you'll
get more adoption.

Haroon Dilshad

unread,
Sep 28, 2014, 5:30:57 PM9/28/14
to nod...@googlegroups.com
How should I build/install it? Specific steps would be a big help, I'm getting this error Error: Cannot find module 'httpp'

tom

unread,
Sep 29, 2014, 12:29:34 AM9/29/14
to nod...@googlegroups.com

the build steps are same as Node.js:


2.  cd node-httpp; ./configure && make install


Best regards
  Tom

Nuno Job

unread,
Sep 29, 2014, 4:34:43 AM9/29/14
to nod...@googlegroups.com
`horsejs` is that you? 
Reply all
Reply to author
Forward
0 new messages