Is there a way to detect that TCP connection has been refused using flash.net.Socket? -


is a flash movie that is using flash.net.Socket to connect to a server. But there can be a situation when the server is not running, so nothing is listening on the port socket.

When I "telnet hostname port", I refused an instant connection, but Flash.net.Socket does not invite any event (see below), but quietly socket timeout Waits for It is important for me that the time required to detect non-existing servers is reduced, as far as possible, be able to reconnect to another server in the cluster.

I have tried the following events, but have not benefitted

  • connect
  • ioError
  • security error
  • SocketData

    None of these apply to such conditions.

    Is there any way to find out that TCP connection has been rejected through Flash.NET? Socket?

  • & lt; Img src = 'http: // target: port /' onerror = What to do about capturing connection errors with 'noconnect'

    & Gt; ?


    Comments

    Popular posts from this blog

    Eclipse CDT variable colors in editor -

    AJAX doesn't send POST query -

    wpf - Custom Message Box Advice -