Re:Developing Multiplayer HTML5 Games with Node.js
by chanderson0 on Tuesday August 30, 2011 @03:25PM
(#2942867)
To add to this: I wrote a simple socket.io demo app for a class I was teaching that makes these issues apparent. Try opening http://node.heyanderson.com/ on your mobile device and in a browser (Chrome or Safari, preferably) and you'll see the difference in latency.
Re:Developing Multiplayer HTML5 Games with Node.js
by catshirt on Tuesday August 30, 2011 @03:43PM
(#2942934)
ah, fair enough. though i'd say that sounds like something socket.io should handle, even if it doesn't already- because now you have the obvious disadvantage of using long polling even when sockets are available.
We found that vanilla long-polling works sometimes on iPhone and some Android phones. But it often introduces huge latencies, and it often just fails for no apparent reason on some Android devices.