Hello, Depending on the size of the data, you may be able to "push" it into the message buffer (which uses fixed size blocks for each message). You can do that using memcpy. Alternatively, you can of course pass the pointer and size of the data, but I'd also recommend referencing a pointer to the semaphore the recipient will put in order to let the sender know that data is no longer needed. Regards
↧