version 1.7, 2012/03/29 01:34:16
|
version 1.7.4.1, 2012/05/16 14:08:52
|
Line 2
|
Line 2
|
#include <pthread.h> |
#include <pthread.h> |
#include <aitrpc.h> |
#include <aitrpc.h> |
|
|
//ait_val_t valz[3]; |
|
|
|
|
|
int main() |
int main() |
{ |
{ |
rpc_cli_t *cli, *cli2; |
rpc_cli_t *cli, *cli2; |
Line 13 int main()
|
Line 11 int main()
|
array_t *valz, *arr; |
array_t *valz, *arr; |
char *mem, *blob43 = malloc(512); |
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); |
// 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()); |