Solved

TIBDatabase timeout (Firebird and Delphi)

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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

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

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…
Many companies are looking to get out of the datacenter business and to services like Microsoft Azure to provide Infrastructure as a Service (IaaS) solutions for legacy client server workloads, rather than continuing to make capital investments in h…
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…

756 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