Re:MMO xkcd WebSockets fixed by PubNub
by a1k0n on Thursday September 27, 2012 @08:11PM
(#4583619)
How would you do it p2p? WebSockets don't provide UDP, so NAT traversal is potentally impossible.
[ Parent
| on HN ]
Re:MMO xkcd WebSockets fixed by PubNub
by subsystem on Thursday September 27, 2012 @10:14PM
(#4583989)
I 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.
WebRTC has a data channel proposal which would allow you to do P2P data communication:
http://tools.ietf.org/html/draft-jesup-rtcweb-data-protocol-...