Hi,
In my application I try to support connection to secondary server if I lost connection with master server. When I detect connection problems I suggest user to reconnect to another active server. I call Disconnect() then I set new host name and call Connect(). The problem is that Disconnect() takes to much time when server doesn't respond anymore. I have about 12 connection to different databases on the same server. Is there any way to do this faster.
Best Regards,
Macma
Reconnect to another host after connection lost
Re: Reconnect to another host after connection lost
Most likely, such behavior on calling TIBCConnection.Disconnect is not a specificity of IBDAC, but is related to Firebird functionality. Try to reproduce your issue using the Embarcadero standard components (FireDac, IBX) - and let us know about the results.