I currently have a flex application
which is a simple chat
and it does long polling.
I wanted to improve this by using sockets
.
I also used flex LCCS(server pushing)
after long polling and later realized that LCCS is going to be closed soon, so I moved on to using socket.io
I see two options,
- Using socket.io in js and communicating it with flex app using externalinterfaces
- Using flashsocket.io
I did implement the second case (externalinterfaces + js socket)in my application, but I do see that 1 out of 10 is a failure.
By failure i mean, the application runs into an error condition like
- either the node server does not reply back (weird)
- flex application does not perform io.connect('server') successfully.
So i was wondering if changing this to flashsocket.io is a better option or not ?
Kindly suggest and if this is a possible duplicate please point me to it.