[zeromq-dev] Zyre ipaddress in Hello message

Pieter Hintjens ph at imatix.com
Thu Jan 2 14:51:51 CET 2014


On Thu, Jan 2, 2014 at 1:06 PM, Arnaud Loonstra <arnaud at sphaero.org> wrote:

> IMHO the easiest way to solve this is to get the ipaddress through the
> 0mq socket. Pieter you said this was available in 0mq4+. Are there any
> examples or docs?

It's not yet available at the libzmq API, only internally. I'm not
happy making the ZRE protocol depend on a specific version of ZeroMQ
either.

The beacon isn't a problem afaics: it is trivial to get the sender
address for a beacon and we already do that. I don't see there's any
requirement for endpoints except tcp:// at the moment. So a beacon
with port number is fine.

I think we can get the socket interface address for each received
beacon, and deliver that as a 3rd frame.

-Pieter



More information about the zeromq-dev mailing list