Introduction | Language Structure | IB Statements | File System | Comet 32 Runtime | Index |
Control: TIMEOUT
Syntax: result-string =
CONTROL(lun,"TIMEOUT value")
Description: The TIMEOUT control changes the amount of time blocked operations wait before returning an EXCP 10, where value is the new timeout amount in seconds. Following an OPEN of the Winsock gateway or a QUIT control, the default timeout is set to 60 seconds.
Return values:
If no error occurs, TIMEOUT returns +OK followed by a message indicating the old TIMEOUT value. Otherwise, it returns –ERR followed by detailed information on the nature of the error. These values are returned in the result-string.
Exceptions: EXCP 45 A syntax error was detected parsing the TIMEOUT command string.
Example: A$ = CONTROL(1,"TIMEOUT 90")