VLSsetTimeoutInterval

Syntax

LS_STATUS_CODE VLSsetTimeoutInterval (
long	interval );
Argument Description

interval

The timeout period in seconds.

Description

Sets the timeout interval.

This call sets the timeout interval for all direct application/License Manager communication to interval. When a licensed application sends a request to a License Manager and the License Manager does not respond, it re-sends the message a few times. Each time, the length of the timeout interval is slightly longer than the previous. VLSsetTimeoutInterval sets the total length of a set of attempts to be interval seconds. The default value of interval is 30 seconds. Note that these timeouts are different from the broadcast timeouts.

Returns

The status code LS_SUCCESS is returned if successful. Otherwise, it will return the following error codes:

Error Code

Description

LS_NORESOURCES

An error occurred in attempting to allocate memory needed by function.

For a complete list of the error codes, see Licensing Library Error and Result Codes.