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
evConnected event?
evConnected event?
Kind Regards,
Asaf
Asaf
Re: evConnected event?
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.
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.