Please some1 tell me is it possible 2 pass a data of type structure using posix queues itz mq_snd or any other possible way.........
Please some1 tell me is it possible 2 pass a data of type structure using posix queues itz mq_snd or any other possible way.........
sure, with legacy ipc queues (msgsnd,...), you have to define your structure and add explicitly members for the system (mtype,...); with posix queues, you simply exchange buffers. Shared memory obviously allows that too, pipes or equivalent may also be used.