PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | French EN

WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
HCS.Timeout (Variable)
In french: HCS.DélaiReponse
HFSQL Client/ServerAvailable only with this kind of connection
The HCS.Timeout variable is used to modify the connection timeout:
  • for the connections established by HOpenConnection.
  • for the automatic connection openings.
Remark: The HCS.Timeout variable is ignored for the accesses to the server other than the connection. A request whose execution is longer than the value specified in the HCS.Timeout variable would not be interrupted for example..
This timeout must be specified in the client application, before opening a connection on the server.
Versions 20 and later
Android This variable is now available for Android applications.
Android Widget This variable is now available in Android Widget mode.
Java This variable is now available for Java applications.
New in version 20
Android This variable is now available for Android applications.
Android Widget This variable is now available in Android Widget mode.
Java This variable is now available for Java applications.
Android This variable is now available for Android applications.
Android Widget This variable is now available in Android Widget mode.
Java This variable is now available for Java applications.
Remark: From version 19, HFSQL is the new name of HyperFileSQL.
Example
HCS.Timeout = INTRANET
Syntax
HCS.Timeout = <Value>
<Value>: Integer constant, Integer or Duration
Value of connection timeout. Corresponds to a timeout in milliseconds (greater than 500) or to one of the following preset constants:
InternetTimeout used for the connection: Value suited for Internet (long response time)
IntranetTimeout used for the connection: Value suited for Intranet (short response time)

This parameter can correspond to:
  • an integer corresponding to the number of milliseconds,
  • a Duration variable,
  • Versions 23 and later
    the direct indication of duration ('1s' or '10ms' for example).
    New in version 23
    the direct indication of duration ('1s' or '10ms' for example).
    the direct indication of duration ('1s' or '10ms' for example).
Minimum version required
  • Version 11
This page is also available for…
Comments
Click [Add] to post a comment