3 ms·
It's a good hack and all, but you didn't actually solve the real problems. Most of which ahould be solved with server side logic[0], something I'm guessing your
by subsystem 14y ago
It's a good hack and all, but you didn't actually solve the real problems. Most of which ahould be solved with server side logic[0], something I'm guessing your service can't do?
[0] It could theoretically be done p2p.
- a1k0n 14y agoHow would you do it p2p? WebSockets don't provide UDP, so NAT traversal is potentally impossible.
- subsystem 14y agoI guess it would be more as a concept than technically. That is, you could send to a specific peer through the server. That way you could have only the messaging logic on the server and the game logic on the clients. The clients would then (again theoretically) be able to agree on a game state, optimize messaging and the other things you would normally do on the server.
- kanaka 14y agoWebRTC has a data channel proposal which would allow you to do P2P data communication: http://tools.ietf.org/html/draft-jesup-rtcweb-data-protocol-00 http://tools.ietf.org/html/draft-jesup-rtcweb-data-protocol-...