file, and then start using the commands.The command documentation can be viewed at http://www.eolas.net/tcl/spynergy/rpc/
For archived copies see: [1][2]Here is an example. The server side:
# server.tcl
source dp_RPC.tcl
set foo ""
proc hello { } {
return "Hello world!"
}
dp_MakeRPCServer 5454
vwait fooAnd the client side:# client.tcl source dp_RPC.tcl set sock [dp_MakeRPCClient localhost 5454] puts stdout [dp_RPC $sock hello] dp_CloseRPC $sockOther example client and server applications can be seen at rpc-DB.
[Gerald W. Lester]For another pure Tcl implementation of TclDp, see DpTcl at http://members.cox.net/gerald.lester/DpTcl.tar.gz


