Home Forums Support The status of an unmanaged connection

  • This topic has 1 reply, 2 voices, and was last updated 7 years ago by Anonymous.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #3549
    Anonymous
    Inactive

    1- Does this library in ver.3 gives the current status of an unmanaged connection?
    For example I need to know when network is disconnected or when it is connected.
    2- Does this library support auto reconnect for managed and unmanaged connections?

    #3568
    Anonymous
    Inactive

    Heya bsflasher,

    Thank you for your questions:

    1. We developed the managed connection so that it was possible to reliably know the connection status etc. The only way to know if an unmanaged connection is usable is to send some sort of test packet. You can always check the connection state:

    Connection.ConnectionInfo.ConnectionState

    but for unmanaged connections this may be unreliable.

    2. There is not auto reconnect feature as it was not possible for us to create one that would make sense for the majority of use cases. i.e. There were enough edge cases that no single implementation was worth while.

    Hope that helps,
    Regards,
    Marc

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.