I am trying to send Cap'n Proto messages across a proprietary 3rd-party communication channel, which is limited to sending and receiving 100 bytes at a time. I was hoping to send each segment as a ZeroMQ multipart message part, but I would need to ensure that each segment is less than 100 bytes. Again, I was hopeful that packing could help ensure this, but I'm not clear that this is true after some time reading the code. It seems that I might need to adjust the segment size, but data alignment and such is not something that I've dealt with before and is currently beyond me.
Can anyone confirm that this should work or possibly suggest an alternative approach?
Thanks!