Does Socket.io garantee that broadcasted events are received in order client side?
node.js, server-push, socket.io
Solution
No, you have to do that at the application level if you need to do that. The internet doesn't guarantee that two different packets will take the same route, so timing can vary. Maybe add a timestamp to each message so you can sort by that timestamp to keep things in order.
Problem
Is there some kind of ordering mechanism in Socket.IO that guarantees that events are received in order by clients? For example: if a server emits event `Evt1` to client A, and the server broadcasts `Evt2` to all clients. Thus client A receives `Evt1` then `Evt2` and only in that order. My guess is NO and, if it's the case, how would you implement it, or are there existing solutions?