Re:WebTorrent – BitTorrent over WebRTC
by knocte on Sunday January 17, 2016 @11:03PM
(#10922470)
WebRTC will anyway become obsolete with IPv6, right?
[ Parent
| on HN ]
No. For security reasons, nobody wants Javascript to be able to open actual TCP connections – Javascript is supposed to be sandboxed, and if it can open TCP connections it can do any number of malicious things. So this whole Websockets thing have been invented, which is just like TCP sockets, except it’s understood that Javascript can access it, so nobody should implement any service accessible on a Websocket which could be misused by malicious Javascript. I’m not sure this is a solid plan.