version 1.5, 2011/11/03 15:32:21
|
version 1.5.2.3, 2012/03/14 15:08:03
|
Line 13 int main()
|
Line 13 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, AF_INET, "127.0.0.1", 11111); | cli = rpc_cli_openClient(100, 2, 1024 * 10, 0, AF_INET, "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()); |
Line 29 int main()
|
Line 29 int main()
|
memset(blob43, 0, 512); |
memset(blob43, 0, 512); |
strlcpy(blob43, "aaaaaaaaaaaaaaa cddddddddddddddd zzzzzzzzzzzzzzzzzzzzz !!!!\n\n\n675675676...\n", 512); |
strlcpy(blob43, "aaaaaaaaaaaaaaa cddddddddddddddd zzzzzzzzzzzzzzzzzzzzz !!!!\n\n\n675675676...\n", 512); |
|
|
valz = io_allocVars(3); | valz = io_allocVars(2); |
v = io_array(valz, 0, ait_val_t*); |
v = io_array(valz, 0, ait_val_t*); |
AIT_SET_I32(v, 12345678); |
AIT_SET_I32(v, 12345678); |
v = io_array(valz, 1, ait_val_t*); |
v = io_array(valz, 1, ait_val_t*); |