[zeromq-dev] (Multipart) messages

Martin Sustrik sustrik at imatix.com
Mon Dec 13 16:46:46 CET 2010


> Oh, I see, clrzmq2 seems a big improvement over version 1. However what
> I keep noticing is that messages or message parts are of type 'string'
> or 'byte[]' whereas your C samples show '&message', which I understand
> could be a pointer to any kind of object -- my knowledge of C is limited.

The message object is a byte buffer.

> My question is: Could we similarly just transfer C# objects of any kind
> without having to serialize them into string / bytes?

No. The only thing you can transfer on the wire is a stream of bits. 
Thus you have to serialise your object into bits before moving it to 
another box.


More information about the zeromq-dev mailing list