4 ms·
WebRTC will anyway become obsolete with IPv6, right?
by knocte 11y ago
WebRTC will anyway become obsolete with IPv6, right?
- teddyh 11y agoNo. 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.