Asynchronous connect

Discussion of open issues, suggestions and bugs regarding SDAC (SQL Server Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
Posts: 2
Joined: Wed 20 Oct 2010 16:58

Asynchronous connect

Post by Senya_L » Wed 20 Oct 2010 17:31

Does TMSConnection support asynchronous connection? In detail: I need possibility to cancel 'hanged' connection, e.g., when target server doesn't exist and not wait for connection timeout expired.

PS. TADOConnection has such a feature but for TMSCOnnection I can't find it :(


Post by AndreyZ » Mon 25 Oct 2010 12:04


SDAC doesn't support such functionality. You can set the TMSConnection.ConnectionTimeout property to a lower value, for example, 5 seconds.

Post Reply