version 1.2, 2011/05/02 23:12:07
|
version 1.2.4.3, 2011/08/19 12:51:50
|
Line 4
|
Line 4
|
|
|
//rpc_val_t valz[3]; |
//rpc_val_t valz[3]; |
|
|
|
|
int main() |
int main() |
{ |
{ |
rpc_cli_t *cli, *cli2; |
rpc_cli_t *cli, *cli2; |
Line 11 int main()
|
Line 12 int main()
|
rpc_val_t tval, valz[3], *v = NULL; |
rpc_val_t tval, valz[3], *v = NULL; |
char *mem, *blob43 = malloc(512); |
char *mem, *blob43 = malloc(512); |
|
|
cli = rpc_cli_openClient(100, 2, 2, "127.0.0.1", 11111); | cli = rpc_cli_openClient(100, 2, AF_INET, "127.0.0.1", 11111); |
| // cli = rpc_cli_openClient(100, 2, AF_LOCAL, "0.0.0.0", 11111); |
if (!cli) { |
if (!cli) { |
printf("error:: errno=%d %s\n", rpc_GetErrno(), rpc_GetError()); |
printf("error:: errno=%d %s\n", rpc_GetErrno(), rpc_GetError()); |
return 1; |
return 1; |