I am trying to reliably detect socket disconnections in my Flex app.

When the server (java) shuts down, my client raises a close event as it
should and I can handle that, but the issue comes when the disconnect
occurs as a result of a network issue.

I can physically disconnect my network cable from my machine (the
server is obviously remote) and I get no notification whatsoever from
my app that the socket is down.  I don't get a close or ioError event,
and if I debug the app, Socket.connected is still true.  In fact, I can
attempt to write data to the (disconnected) socket without it throwing
an error.

Thoughts?

Paul

Reply via email to