Solved

TIBDatabase timeout (Firebird and Delphi)

Posted on 2013-11-25
4
915 Views
Last Modified: 2013-12-24
Is there a way to fix a connection timeout on a TIBDatabase connector ?
0
Comment
Question by:LeTay
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
4 Comments
 
LVL 27

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 27

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

NEW Veeam Agent for Microsoft Windows

Backup and recover physical and cloud-based servers and workstations, as well as endpoint devices that belong to remote users. Avoid downtime and data loss quickly and easily for Windows-based physical or public cloud-based workloads!

Question has a verified solution.

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

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…
A company’s centralized system that manages user data, security, and distributed resources is often a focus of criminal attention. Active Directory (AD) is no exception. In truth, it’s even more likely to be targeted due to the number of companies …
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…

738 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