--- libaitrpc/example/tcli.c 2015/05/18 15:02:00 1.18.18.3 +++ libaitrpc/example/tcli.c 2015/07/02 22:28:13 1.20 @@ -1,7 +1,9 @@ #include +#include +#include #include #include -#include +#include #include "rc.h" @@ -159,7 +161,8 @@ int main(int argc, char **argv) valz = ait_allocVars(1); v = ait_getVars(&valz, 0); - AIT_SET_I32(v, (cli->cli_id == SOCK_STREAM || cli->cli_id == SOCK_EXT) ? 5000000 : 5000); + printf("cli_id=%d\n", cli->cli_id); + AIT_SET_I32(v, (cli->cli_id == SOCK_STREAM || cli->cli_id == SOCK_EXT) ? 50000 : 5000); if (rpc_cli_execCall(cli, RPC_REPLY, RC_big, valz, &arr) < 0) { printf("error:: \"big\" errno=%d %s\n", rpc_GetErrno(), rpc_GetError()); } else