Subject ibdatabase disconnect timeout
Author Latic Senad

Hi,

Used:

-          Win XP/7/10

-          Delphi XE7

-          TIBDatabase

-          Firebird 2.5

 

Problem: if I try to disconnect and client was over network connected then this take about 20sec

 

Example:

- IBDatabase.DatabaseName:=192.168.1.1/3050:C:\temp\test.fdb;
- IBDatabase.Connected:=True;
- Disconnected (cable unplugged)

- IBDatabase.Connected:=False;
- IBDatabase.DatabaseName:=127.0.0.1/3050:C:\temp\test.fdb;
- IBDatabase.Connected:=True;

 

This line take about 20sec „IBDatabase.Connected:=False“ !!??

 

Is there any timeout?

Can I bypass this situation?

I dont wonna wait 20sec!

 

Thanks in advance!