use calloc to transport data over msg ipc