Solved

TIBDatabase timeout (Firebird and Delphi)

Posted on 2013-11-25
4
891 Views
Last Modified: 2013-12-24
Is there a way to fix a connection timeout on a TIBDatabase connector ?
0
Comment
Question by:LeTay
  • 2
  • 2
4 Comments
 
LVL 26

Expert Comment

by:Sinisa Vuk
ID: 39675903
Same question and answer is here:
http://www.experts-exchange.com/Programming/Languages/Pascal/Delphi/Q_27598677.html
I recommend to use ping solution before you want to connect. This saves me a lot.
http://delphi.about.com/od/internetintranet/l/aa081503a.htm
If ping to remote server is ok in specified timeout - then connection will be fast. (even is ib server is down on specified address)
0
 

Author Comment

by:LeTay
ID: 39676866
Is there a simple ping function in a Delphi package somewhere ?
(Delphi XE2)
Thanks
0
 
LVL 26

Accepted Solution

by:
Sinisa Vuk earned 500 total points
ID: 39676868
No, not in Delphi itself but you can create custom unit with code form about.com...
There are third part components but this can be faster...
0
 

Author Comment

by:LeTay
ID: 39676887
I thought something new would be available
Thanks
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In my programming career I have only very rarely run into situations where operator overloading would be of any use in my work.  Normally those situations involved math with either overly large numbers (hundreds of thousands of digits or accuracy re…
I annotated my article on ransomware somewhat extensively, but I keep adding new references and wanted to put a link to the reference library.  Despite all the reference tools I have on hand, it was not easy to find a way to do this easily. I finall…
Video by: Steve
Using examples as well as descriptions, step through each of the common simple join types, explaining differences in syntax, differences in expected outputs and showing how the queries run along with the actual outputs based upon a simple set of dem…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

839 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question