Data.DbxDatasnap.TDBXDatasnapProperties.ConnectTimeout

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property ConnectTimeout: string read GetConnectTimeout write SetConnectTimeout;

C++

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

Properties

Type Visibility Source Unit Parent
property published
Data.DbxDatasnap.pas
Data.DbxDatasnap.hpp
Data.DbxDatasnap TDBXDatasnapProperties

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