[zeromq-dev] ZRE interface address and disconnect beacon
widemeadows at googlemail.com
Thu Feb 28 18:58:54 CET 2013
I have noticed that in the current draft of ZRE the sender's IP address in
the HELLO command is encoded as a string. Is there a particular reason for
not encoding it as a 4OCTET in case of IPv4 - and then, what about IPv6?
Sending this as a VCHAR sequence seems like overkill.
I am also seeing a problem here when binding on "all" interfaces; It is not
clear which address should be sent in that case. If I receive an UDP beacon
on a specific interface I could obviously send that, but the draft doesn't
explicitely specify it.
A second thought is something like a GOODBYE command or beacon. One could,
for example, define the 0 mailbox port as "this peer is leaving the
network"; Whoever catches it can remove the peer, everyone else would have
to rely on the missing heartbeat; Or, of course, GOODBYE command to all.
Then: Are there any thoughts about using multicast instead of broadcast?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the zeromq-dev