Websockets and p2p? (or something close to p2p)

4 points by abhishivsaxena ↗ HN
I know the current Websockets spec says nothing about browsers acting as servers. But has anyone found a clever way to implement p2p(or something close to p2p) using Websockets?

1 comment

[ 2.8 ms ] story [ 9.0 ms ] thread
I haven't tried this yet, but it's on my list of things to do.

Jailbreak your Iphone, and get NodeJS working on it:

https://tootallnate.net/nodejs-on-ios

That device could then become the host for both browsers, the local Safari, and any other device on the network. Or true peer-to-peer could be accomplished by getting NodeJS instances on two iOS devices talk directly to eachother.