Connection Timeout setting

Discussion of open issues, suggestions and bugs regarding usage of dbExpress drivers for SQL Server in Delphi and C++Builder
Post Reply
Guest

Connection Timeout setting

Post by Guest » Thu 14 Apr 2005 17:22

Hi,

Is it possible to somehow set the connection timeout when (perhaps a driver setting similar to FetchAll) connecting to MSSQL server?

At the moment, if you enter an invalid host/ip for the server, the driver tries to connect for 60 seconds before timing out and and exception is raised. In the meantime, the whole application (or IDE) is blocked, which is pretty disturbing.

Thanks for your help.

Ikar
Posts: 1693
Joined: Thu 28 Oct 2004 13:56

Post by Ikar » Fri 15 Apr 2005 06:14

Please see CONN_TIMEOUT ('Connection Timeout') parameter in Delphi help

Post Reply