rpc_clnt_create creates an RPC client pointer.
Return Value
cl is a handle containing the RPC client pointer.
Parameters
host is the host name.
prognum is the RPC number.
versnum.
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