Page 1 of 1

evConnected event?

Posted: Tue Aug 10, 2021 1:53 pm
by AG70
Hi,

So now when evConnected event has been removed from version 2.9.0 how to know if the client is Connected (for the first time) or Recontacted at evRecoverySucceeded event?

Thanks,
AG

Re: evConnected event?

Posted: Thu Aug 12, 2021 7:48 pm
by alt
Hello Asaf,

ConnectAsync method returns true when connection is successful and false when not. So your application knows the connection result. You can also check client.Status property, it should be Open when connected and Close when disconnected.

When you use connection recovery feature you need to wait until evRecoverySucceeded event is raised to continue the sending.

Re: evConnected event?

Posted: Fri Aug 13, 2021 1:40 pm
by AG70
Hi,

Thanks for your help.

Asaf