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
New in version 20Remark: From version 19, HFSQL is the new name of HyperFileSQL.
Syntax
<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: | |
Internet | Timeout used for the connection: Value suited for Internet (long response time) |
Intranet | Timeout 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 laterthe direct indication of duration ('1s' or '10ms' for example).
New in version 23the direct indication of duration ('1s' or '10ms' for example).
the direct indication of duration ('1s' or '10ms' for example).