rpc_mgmt_inq_com_timeout(3) — Subroutines
NAME
rpc_mgmt_inq_com_timeout - Returns the communication timeout value in a binding handle
Used by client applications.
SYNOPSIS
#include <dce/rpc.h>
void rpc_mgmt_inq_com_timeout(
rpc_binding_handle_t binding ,
unsigned32 ∗timeout ,
unsigned32 ∗status );
PARAMETERS
Input
bindingSpecifies a server binding handle.
Output
timeoutReturns the communication timeout value from the binding argument.
statusReturns the status code from this routine. This status code indicates whether the routine completed successfully or, if not, why not. The possible status codes and their meanings are as follows:
rpc_s_okSuccess.
rpc_s_invalid_bindingInvalid binding handle.
rpc_s_wrong_kind_of_binding
Wrong kind of binding for operation.
DESCRIPTION
The rpc_mgmt_inq_com_timeout routine returns the communication timeout value in a server binding handle. The timeout value specifies the relative amount of time to spend trying to communicate with the server. Depending on the protocol sequence for the specified binding handle, the value in argument timeout acts only as advice to the RPC runtime.
The rpc_mgmt_set_com_timeout(3) reference page explains the timeout values returned in argument timeout.
To change the timeout value, a client calls the rpc_mgmt_set_com_timeout routine.
RETURN VALUES
None.
RELATED INFORMATION
Functions: rpc_mgmt_set_com_timeout(3)