[zeromq-dev] How to send binary and text massage in one massage
Meir Yanovich
meiryanovich at gmail.com
Thu Jan 10 09:59:07 CET 2013
Thanks for the fast replay , can you please point me to example source
so i can see how does in implemented
Thanks
On Thu, Jan 10, 2013 at 10:23 AM, Matias Guijarro
<matias.guijarro at esrf.fr>wrote:
> Hi,
>
> On 10/01/2013 9:16, Meir Yanovich wrote:
> > now i want to keep the xml massaging and to add sending binary file on
> > the wire from the server to client .
> > what is the best approach to do it ?
>
> Maybe the easiest is to keep the xml format for messages,
> and to encode the binary file into base64 for example.
>
> Or you can maybe use multi-part messages of zmq, first part
> being xml and second (optional ?) part a binary chunk
> corresponding to your file.
>
> Cheers,
> Matias.
>
> _______________________________________________
> zeromq-dev mailing list
> zeromq-dev at lists.zeromq.org
> http://lists.zeromq.org/mailman/listinfo/zeromq-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20130110/fdf3e8f1/attachment.htm>
More information about the zeromq-dev
mailing list