Thanks! 2011/1/7 Martin Sustrik <[email protected]>
> Daniel, > > > 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? >> > > You can, but obviously there will be a problem with endianness, data type > length and structure padding between different systems. > I use only c/c++ on linux :) best regards, Daniel > Martin >
_______________________________________________ zeromq-dev mailing list [email protected] http://lists.zeromq.org/mailman/listinfo/zeromq-dev
