[zeromq-dev] c struct as a zmq message

Daniel Cegiełka daniel.cegielka at gmail.com
Fri Jan 7 14:07:02 CET 2011


Is it possible to send a raw C structure via zmq with memcpy?

According to documentation zmq doesn't know anything about the data to send
except its size, so can I use memcpy to send C structure directly or I need
to use the sprint/sscanf functions?

Best regards,
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20110107/f4284c1b/attachment.htm>

More information about the zeromq-dev mailing list