--- libaitrpc/example/tcli.c 2012/03/15 01:55:32 1.6 +++ libaitrpc/example/tcli.c 2012/03/28 01:17:09 1.6.2.1 @@ -85,6 +85,16 @@ int main() } printf("return=%d aaa arr=%p\n", arr ? io_arraySize(arr) : 42424242, arr); + valz = io_allocVars(1); + v = io_array(valz, 0, ait_val_t*); + AIT_SET_DATA(v, "1234567890", 11); + io_arraySet(valz, 0, v); + if (rpc_cli_execCall(cli, NULL, "xxx", valz, &arr) < 0) { + printf("error:: \"xxx\" errno=%d %s\n", rpc_GetErrno(), rpc_GetError()); + return 3; + } + printf("return=%d xxx arr=%p\n", arr ? io_arraySize(arr) : 42424242, arr); + if (rpc_cli_execCall(cli, NULL, CALL_SRVCLIENTS, NULL, &arr) < 0) { printf("error:: errno=%d %s\n", rpc_GetErrno(), rpc_GetError()); return 4;