1 decade ago by techtech
I'm think I'm seeing the Chrome browser buffer up every 5 seconds worth of socket.io state messages emitted from my server, then send that 5 seconds worth of messages to my socket.on callback all at once.
Under the IE browser, my callback fires immediately after each message, multiple times per second, making me think the problem is not in my code.
In other parts of my game, Chrome seems to work great with socket.io. For example, I can press arrow movement keys on the client and instantly see the server logging the input events. No five second buffering there!
Anyone know what might be going on? (I'm new to socket.io and Impact so I might be doing something horribly wrong.)
Under the IE browser, my callback fires immediately after each message, multiple times per second, making me think the problem is not in my code.
In other parts of my game, Chrome seems to work great with socket.io. For example, I can press arrow movement keys on the client and instantly see the server logging the input events. No five second buffering there!
Anyone know what might be going on? (I'm new to socket.io and Impact so I might be doing something horribly wrong.)