NAME
DP_RPC - C access to Tcl-DP remote procedure call commands

SYNOPSIS

#include "network.h"

int Tdp_RPC (interp, fileHandle, command, events, timeout, timeoutReturn)

ARGUMENTS
Tcl interpreter, mainly for error messages. Represents an RPC connection to a remote Tcl/Tk process. Tcl/Tk command to be evaluated in the remote Tcl/Tk interpreter. Passed to Tk_DoOneEvent while waiting for RPC return value. Integer milliseconds. Tcl command to eval in case of timeout.

DESCRIPTION

The above routines give C access to the Tcl-DP remote procedure call commands (dp_RPC and dp_RDO). If the events argument is less than 0, then no events are handled while waiting for an RPC return value on the given RPC connection. If the events argument is not less than 0, then the events argument is the same type of argument as passed to Tk_DoOneEvent and allows one to flag for the event types which will be handled while waiting for an RPC return value. This events argument, if not less than 0, is automatically or'ed with TK_FILE_EVENTS flag so that file events are always handled. If the timeout argument is zero or less than zero, timeout will not be checked.

SEE ALSO
dp_rpc (l), distributed objects (l), Tk_DoOneEvent (3)

AUTHOR
Brian Smith (bsmith@cs.berkeley.edu)

Steve Yen (syen@cs.berkeley.edu)

Stephen Tu (tus@roger-rabbit.cs.berkeley.edu)