cpp-ipc
cpp-ipc copied to clipboard
Doesn't work when sending std array/vector with ipc
hello, I tried to send std::vector and std::array with ipc and it doesn't work. Can I get some help? Maybe there is a way to send vector/array?
You should serialize them first, then put the memory block pointer and the size of it to the sending interface.
I cannot send big vectors (with a lot of elements). Is there any max size of a message that can be sent ? maybe there is a way to send big vectors in one message ?
How do you send a big vector? Could you show a minimal example code?