The
HCS.Timeout variable is used to modify the connection time-out:
- 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 time-out must be specified in the client application, before a connection is opened 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 time-out. Corresponds to a time-out in milliseconds (greater than 500) or to one of the following preset constants: | |
Internet | Time-out used for the connection: Value suited for Internet (long response time) |
Intranet | Time-out 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).