49 points · by abraham · 15y ago · 27 comments
The real news is now the p2p functionality shows a possible Javascript interface[1] to be used in Chromoting[2]
I guess the next step would be handcraft XMPP envelopes in Javascript. Each browser instance you open on any device would be indentified as a JID/resource string.
[1]: http://code.google.com/p/chromium/issues/detail?id=41776
[2]: http://code.google.com/p/chromium/issues/detail?id=51198
Since Chrome and NaCl are both Open Source and Auto Updating, this has to be the dumbest analysis ever.
What does an P2P-API do? Surely, all you need for a P2P application/protocol is a WebSocket. If you invent a new app for P2P you'd want to tailor it to your specific need, no?
More info here:
http://peter.sh/2011/03/css-quotes-mock-ups-of-the-html5-dat...
http://src.chromium.org/viewvc/chrome?view=rev&revision=...
http://src.chromium.org/viewvc/chrome?view=rev&revision=...
http://www.whatwg.org/specs/web-apps/current-work/multipage/...
Don't be fooled by the name. Websockets are not a general socket interface in the web browser. It is simply an API and protocol for establishing a persistent, bidirectional communication channel between the browser and the server in order to better support applications like chat, notifications, live editing features, and the like, without having to resort to COMET techniques like polling, long-polling, and so on.