rpc_set_short_timeout(3ncs)											       rpc_set_short_timeout(3ncs)

Name
       rpc_set_short_timeout - set or clear short-timeout mode (client only)

Syntax
       #include <idl/c/rpc.h>

       unsigned long rpc_$set_short_timeout(handle, state, status)
       handle_t handle;
       unsigned long state;
       status_$t *status;

Arguments
       handle An RPC handle.

       on     If `true' (not zero), short-timeout mode is set on handle.  If `false' (zero), standard timeouts are set.

       status The completion status.  If the completion status returned in is equal to status_$ok , then the routine that supplied it was success-
	      ful.

Description
       The routine sets or clears short-timeout mode on a handle.  If a client uses a handle in short-timeout mode  to	make  a  remote  procedure
       call, but the server does not respond, the call fails quickly.  As soon as the server responds, standard timeouts take effect and apply for
       the remainder of the call.

       Calling with a value other than zero for state sets short-timeout mode.	Calling it with state  equal  to  zero,  sets  standard  timeouts.
       Standard timeouts are the default.

       This routine returns the previous setting of the timeout mode in

Diagnostics
       This section lists status codes for errors returned by this routine in

       rpc_$not_in_call    An internal error.

       rpc_$proto_error    An internal protocol error.

Files
See Also
       intro(3ncs)

														       rpc_set_short_timeout(3ncs)