Keywords - Function groups - @ A B C D E F G H I J K L M N O P Q R S T U V W X Y Z

Group: Remote Procedure Call
See also: rpclink rpcsendrequest rpcstartserver rpcstarttimer rpcstopclient rpcstopserver rpcstoptimer systemcall

Function: rpcstartclient
Description: rpcstartclient starts an RPC client using a given port number.

Link:
Usage: handle = rpcstartclient (portnumber)
Input:
portnumber hex string
Output:
handle scalar

Note:

Example:

rpcstartserver ("0x43000000")
rpcstarttimer (100, 0, "XGobiTimer")
;
systemcall ("$XGOBIDIR/bin/xgobi -server 0x43000000 -client 0x42000000 -link xplore &")
systemcall ("sleep 5")
;
xg1 = rpcstartclient ("0x42000000")
;
rpcsendrequest (xg1, 11, "xplore 2 3", 10)
rpcsendrequest (xg1, 12, "1 2 3 4 5 6", 10)
rpcsendrequest (xg1, 13, "1203 2102 3304", 10)
rpcsendrequest (xg1, 14, "", 10)
Result:

Activates the XploRe RPC mechanism (server and client) and starts up XGobi as a client
(with three plotted symbols). Later, both programs can send RPC requests to each other.

Group: Remote Procedure Call
See also: rpclink rpcsendrequest rpcstartserver rpcstarttimer rpcstopclient rpcstopserver rpcstoptimer systemcall

Keywords - Function groups - @ A B C D E F G H I J K L M N O P Q R S T U V W X Y Z

(C) MD*TECH Method and Data Technologies, 17.8.2000