[zeromq-dev] ZMessage : Address Format

Terry Corlet tcorlet at gmail.com
Tue Oct 4 11:24:31 CEST 2011


Hi

I've been working with the CLR bindings for clrzmq2 and also the ZMessage
wrapper class. It's been a fantastic lib to work with, but I've hit a bit of
a stumbling block:

When I receive a message on a router socket, and then pass the socket into
ZMessage, the Address property on ZMessage appears to be a 17 byte array.
But I haven't clue what format this actually represents.

I was hoping that I could call something like : *
Encoding.GetString(Zmsg.Address)* ....and it would reveal a simple
"tcp//:address:port", but unfortunately it doesn't seem to work this way. Is
there a way to decipher the Zmsg.Address or possibly add an address (byte
array) onto to the ZMessage?

Thanks,
Terry
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20111004/64e3d64b/attachment.htm>


More information about the zeromq-dev mailing list