CLlmClient::GetTimeout Method  
 
INT GetTimeout();

The GetTimeout method returns the number of seconds the client will wait for a response from the server.

Parameters

None.

Return Value

If the method succeeds, the return value is the timeout period in seconds. If the method fails, the return value is LLM_ERROR. To get extended error information, call GetLastError.

Remarks

The GetTimeout method returns the current timeout value for the specified client session. This value specifies the maximum amount of time, in seconds, that the client will wait for a response from the provider before the request is aborted.

The timeout applies to network operations performed when communicating with the provider. If the timeout period is exceeded, the request will fail and the last error code will indicate a timeout condition.

The timeout value may be specified when creating a session using ConnectEx and the LLM_SESSION structure, or modified at runtime using SetTimeout.

Requirements

Minimum Desktop Platform: Windows 7 Service Pack 1
Minimum Server Platform: Windows Server 2008 R2 Service Pack 1
Header File: cstools12.h
Import Library: csllmv12.lib

See Also