问题
is there a way to keep receiving data when lost focus on the broswer on Socket.io Client side?
I'm making a multiplayer game test with html5 and nodejs as server, everything works fine, but i have the case that if the client (the game), lost the focus, for example move to another windows or tab, it stops receiving information, then when a i focus again a receive all the data on the queue
来源:https://stackoverflow.com/questions/28916859/socket-io-client-side-is-there-a-way-to-keep-receiving-data-when-lost-focus-on