3 ms·
Don't websockets require a server to work ? You can't just directly connect to an host (obviously to prevent malicious scripts, I guess) using js. So if I unde
by jokoon 12y ago
Don't websockets require a server to work ? You can't just directly connect to an host (obviously to prevent malicious scripts, I guess) using js.
So if I understand it right, if you make a P2P app in js using websockets, it still requires a server to spread IPs between hosts. So it's "decentralized", but you could still track users since the server has everybody's address.
So when you chat, it's P2P, but when you start it up, it's still centralized.
Unlike kamdelia, bitcoin, bittorrent, bitmessage, you could still shut this down if it uses js. Not very interesting.
- sktrdie 12y agoExactly what I thought. WebRTC has this limitation and it's not actually possible to implement a DHT on top of it. Not sure why the developers decided to use WebRTC. I mean, it's a good transport layer for real-time communication (where bandwidth is a limited resourced), but not for decentralization.