阅读背景:

NodeJS + Socket.io connections dropping/reconnecting?

来源:互联网 

In production, I have a game which uses connection-local variables to hold game state. However I notice that if I idle for a certain time on the connection, it disconnects and reconnects which loses the current state. During my tests on a local host, I never noticed this behavior. Is this the norm behavior for socket connections or is something else causing the connections to drop.In production, I have a game which uses connect




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: