Solved

TIBDatabase timeout (Firebird and Delphi)

Posted on 2013-11-25
4
844 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 25

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 25

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

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

This article describes some very basic things about SQL Server filegroups.
Entering a date in Microsoft Access can be tricky. A typo can cause month and day to be shuffled, entering the day only causes an error, as does entering, say, day 31 in June. This article shows how an inputmask supported by code can help the user a…
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…

758 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

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now