.. highlightlang:: us .. _rpc_clnt_create: rpc_clnt_create =============== .. index:: rpc_clnt_create .. us.tag rpc_clnt_create NOTREADYENGLISH New500 asam3.init :ref:`rpc_clnt_create` creates an RPC client pointer. .. function:: cl = rpc_clnt_create (host, prognum, versnum, protocol) .. us.return **Return Value** *cl* is a handle containing the RPC client pointer. .. us.params **Parameters** .. uparam:: host *host* is the host name. .. uparam:: prognum *prognum* is the RPC number. .. uparam:: versnum *versnum*. .. uparam:: protocol *protocol* is usually the string "TCP". .. us.example **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); .. us.history **History** .. list-table:: :header-rows: 1 * - Version - Description * - 5.0.0 - New .. seealso:: :ref:`overview-asam-ods` :sub:`id-199603`