0

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,

  1. Using socket.io in js and communicating it with flex app using externalinterfaces
  2. 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

  1. either the node server does not reply back (weird)
  2. 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.

Dhiraj
  • 33,140
  • 10
  • 61
  • 78

1 Answers1

0

I am working on an application based on Flex 4/Node.js and we are using flashsocket (with a little modification). And I would say we are pretty happy with it. If you want I can share the updated Flashsocket with you.

I avoided the first approach as to why use ExternalInterface/JS while all can be done using flex/flash only.

M.D.
  • 1,886
  • 1
  • 13
  • 14