Binding Time-out Constants
The RPC library uses the binding time-out constants to specify the relative amount of time that should be spent to establish a binding to the server before giving up. The timeout can be enabled with a call to the RpcMgmtSetComTimeout function. The following list contains the valid time-out values.
Constant/value | Description |
---|---|
|
Keeps trying to establish communications forever. |
|
Tries the minimum amount of time for the network protocol being used. This value favors response time over correctness in determining whether the server is running. |
|
Tries an average amount of time for the network protocol being used. This value gives correctness in determining whether a server is running and gives response time equal weight. This is the default value. |
|
Tries the longest amount of time for the network protocol being used. This value favors correctness in determining whether a server is running over response time. |
Remarks
The values in the preceding table are not in seconds. These values represent a relative amount of time on a scale of zero to 10. For more information on avoiding communication delays, refer to Preventing Client-side Hangs.
Requirements
Requirement | Value |
---|---|
Minimum supported client |
Windows 2000 Professional [desktop apps only] |
Minimum supported server |
Windows 2000 Server [desktop apps only] |
Header |
|