rpc_clnt_create¶
rpc_clnt_create creates an RPC client pointer.
-
cl = rpc_clnt_create (host, prognum, versnum, protocol)
Return Value
cl is a handle containing the RPC client pointer.
Parameters
-
host
host is the host name.
-
prognum
prognum is the RPC number.
-
versnum
versnum.
-
protocol
protocol is usually the string “TCP”.
Example
loadlib("rs_aods_3.dll");
cl = rpc_clnt_create("P3200", 553652246, 3, "TCP");
envId = aop_openenv("abc_server", "nfz", cl);
...
aop_closeenv(envId, cl);
rpc_clnt_destroy(cl);
History
Version | Description |
---|---|
5.0.0 | New |
See also
id-199603