4 ms·
There doesn't seem to be very much public information about how this protocol actually works. How does it deal with NAT? Will it work on mobile networks? Does i
by rabidsnail 16y ago
There doesn't seem to be very much public information about how this protocol actually works. How does it deal with NAT? Will it work on mobile networks? Does it require a native application?
- ntoshev 16y agoAny p2p requires a native app as the browser can't act as a server.
- ComputerGuru 16y agoThat is not necessarily true. With websockets, you can write a full-functioning p2p client in the browser.
- rabidsnail 16y agoOnly if you can find some way around the same origin policy.
- dougb 16y agoWebSockets is only TCP. Bram is using his own networking stack based on UDP.
- ntoshev 16y agoYou can't connect two browsers directly via websockets, you can only connect to a server. A browser can't serve an incoming websockets connection.
- rabidsnail 16y agoThis isn't 100% true. You have unrestricted network access from signed java applets if you request the right permissions (and the user clicks allow), for example. Also, Bram might have come up with a reliable way around the same-origin-policy. DNS rebinding 2.0?
- ntoshev 16y agoSo a Java applet can listen on a port? Interesting, although not very practical. Adobe Flash is also supposed to support some form of p2p connections, but I don't know anything about it.
- rabidsnail 16y agoThe warning dialog is hella scary, though.