How to detect Connection lost
Posted: Mon 02 Nov 2009 13:36
Hello
How can i detect whether the connection is lost or not?
I tried with OnConnectionLost event of TMSConnection..but seems not working..is there any prerequisite to activate OnConnectionLost.
Well, My objective to is to detect connection lost so i can stop query operations running timely in my application to avoid unnecessary exceptions.
Thanks
How can i detect whether the connection is lost or not?
I tried with OnConnectionLost event of TMSConnection..but seems not working..is there any prerequisite to activate OnConnectionLost.
Well, My objective to is to detect connection lost so i can stop query operations running timely in my application to avoid unnecessary exceptions.
Thanks