version 1.1.2.1, 2011/09/07 15:59:46
|
version 1.1.2.2, 2011/09/07 21:06:56
|
Line 1
|
Line 1
|
#include <stdio.h> |
#include <stdio.h> |
#include <string.h> |
#include <string.h> |
#include <aitsess.h> |
#include <aitsess.h> |
|
#include <aitio.h> |
|
|
int main() | int main(int argc, char **argv) |
{ |
{ |
tagSess *n = NULL; |
tagSess *n = NULL; |
int i = 255; | array_t *inp; |
char *dat, szVal[256]; | |
| inp = io_arrayFrom(&argv, argc); |
| |
/* |
/* |
map_createSession("/tmp/abra-kadabra-123", 1003, 4096, &n); |
map_createSession("/tmp/abra-kadabra-123", 1003, 4096, &n); |
if (sess_GetErrno()) { |
if (sess_GetErrno()) { |
Line 34 int main()
|
Line 36 int main()
|
freeSession(NULL, &n); |
freeSession(NULL, &n); |
*/ |
*/ |
|
|
ipc_createSession("/tmp/abra-kadabra-123", 1003, 4096, &n); | ipc_createSession("/tmp/abra-kadabra-321", 1003, 4096, &n); |
if (sess_GetErrno()) { |
if (sess_GetErrno()) { |
printf("Error:: #%d - %s\n", sess_GetErrno(), sess_GetError()); |
printf("Error:: #%d - %s\n", sess_GetErrno(), sess_GetError()); |
return 2; |
return 2; |