--- libaitrpc/example/tcli.c 2012/03/29 01:34:16 1.7 +++ libaitrpc/example/tcli.c 2012/05/16 14:08:52 1.7.4.1 @@ -2,9 +2,7 @@ #include #include -//ait_val_t valz[3]; - int main() { rpc_cli_t *cli, *cli2; @@ -13,7 +11,7 @@ int main() array_t *valz, *arr; char *mem, *blob43 = malloc(512); - cli = rpc_cli_openClient(100, 2, 1024 * 10, 0, AF_INET, "127.0.0.1", 11111); + cli = rpc_cli_openClient(100, 2, 1024 * 10, 0, "127.0.0.1", 11111); // cli = rpc_cli_openClient(100, 2, AF_LOCAL, "0.0.0.0", 11111); if (!cli) { printf("error:: errno=%d %s\n", rpc_GetErrno(), rpc_GetError());