[zeromq-dev] gozmq beacon

Brian Knox bknox at digitalocean.com
Sun Jan 18 13:29:34 CET 2015


Andrew: what is actually published is the IP address of the beacon = so the
"HI" in the example is a topic, and not what is actually received.  So, the
publisher is publishing on topic "HI", and the subscriber is subscribing on
topic "HI".   Running locally:

./b
Beacon configured on: 192.168.1.199
Beacon configured on: 192.168.1.199
Received beacon: 192.168.1.199

I'll fix the example code to the new function names, thanks for catching
that.  Awhile back, we removed the "Z" prefixes from everything as they
weren't necessary in a language that has package namespaces.

Brian


On Sun, Jan 18, 2015 at 12:17 AM, Andrew Hume <andrew at humeweb.com> wrote:

> brian,
>
>         i copied the zbeacon example from the github site and ran it.
> (i had to change NewZbeacon to NewBeacon.)
>
> it doesn’t work, in that listener.Recv is always returning an empty string
> regardless of what is published.
>
> so either i don’t understand what is supposed to happen, or there is a bug
> somewhere.
>
> _______________________________________________
> 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/20150118/acff90e3/attachment.htm>


More information about the zeromq-dev mailing list