Data.DbxDatasnap.TDBXDatasnapProperties.ConnectTimeout

From RAD Studio API Documentation
Jump to: navigation, search

[–] Properties
Type: property
Visibility: published
Source:
Data.DbxDatasnap.pas
Data.DbxDatasnap.hpp
Unit: Data.DbxDatasnap
Parent: TDBXDatasnapProperties

Delphi

property ConnectTimeout: string read GetConnectTimeout write SetConnectTimeout;

C++

__property System::UnicodeString ConnectTimeout = {read=GetConnectTimeout, write=SetConnectTimeout};

Description

Specifies the connect timeout value.

The ConnectTimeout property specifies the connect timeout value that provides the number of milliseconds the client waits for the connection to be established. The value provides the timeout for the first server response acknowledgment rather than for the entire connect/authentication phase. It should be used to avoid application freeze when it is possible to attempt to connect to older DataSnap server versions or to different applications, which do not acknowledge the current communication protocol.

See Also