I've managed in finaly downloading the plugins.
I only have firefox 5.0 on my computer, and so the plugins won't work.
But I took a look into the code.
[quote]There is no way to tell if the plugin received more than one message during one tick. Storing them in an array is pointless, since you can process them punctually as they arrive. This is a kind of things that needs to be done internally. [/quote]
Whenever there's data incoming, "on data received" will be shot.
Internaly to the plugin, the processing will be the same, and still revolve on a trigger.This is the way the API is designed
This mean that each tick, the socket listen to see if it receives any message.
.. If true trigger "On data received"
Collecting to an array in C2 or within the plugin is equivalent.
It will be better/more user-friendly once embedded in the plugin, but my "hack" should work at equal as an embedded version for now. (there only gonna be one set of data received per tick when there is data to be received)
Anyway the support of websocket from a browser to another is random. When there will be a common support (understand firefox6 for me), i'll worry about stacking received datas. ^^Kyatric2011-08-08 17:35:17