1

Is this possible? Will this be possible any time soon?

Here is advanced Google Search, on JavaScript websockets peer to peer

Filtered for last year only.

Related SO by Year

2009 post - peer to peer web sockets is planned

2011 post - I don't think it is possible

2011 Post - Not Possible + Motherload of more links

2011 Post - WebRTC on Horizon - The Best answer so far

For the current status check the webrtc site maintained By Google...this might provide an understanding of when you can switch from peer to proxy to peer....to peer to peer.

Community
  • 1
  • 1
  • Also related: [Will html 5 allow web apps to make peer to peer http connections](http://stackoverflow.com/questions/1032006/will-html5-allow-web-apps-to-make-peer-to-peer-http-connections). Unrelated, love your username. – gcochard May 31 '12 at 15:39
  • Hope it is true, but doubt that it is. I asked this same question to my buds yesterday. Some times in game making, there is so much communication that goes through the server, and it would be nice to by pass it and just go straight to the device. Anywho... fingers crossed. – frosty May 31 '12 at 15:40
  • 1
    possible duplicate of [How to make a browser to browser (peer to peer) connection?](http://stackoverflow.com/questions/7022383/how-to-make-a-browser-to-browser-peer-to-peer-connection) – Francis Avila May 31 '12 at 16:00
  • The clusters they mostly come at night –  May 31 '12 at 23:36

1 Answers1

2

This question is answered--look for "WebRTC" near the bottom.

What you are talking about is not part of the Websockets specification but something called WebRTC, specifically the Peer-to-Peer Data API.

No browser implements it yet, but Chrome and Firefox have started to implement parts of WebRTC and probably will implement this too.

Community
  • 1
  • 1
Francis Avila
  • 31,233
  • 6
  • 58
  • 96