On Thu, May 12, 2011 at 9:59 PM, Gehan Gonsalkorale
<[email protected]>wrote:

> Hi,
>
> I wasn't sure where to ask this question but maybe someone can help?
>
> I've been playing with zmq and its great, I want to use it to enable our 5
> servers to push out logging messages to a log server to store it centrally.
> Some people would set the 5 servers up as publishers with the log server as
> a subscriber, but that requires the log server to know where all the other
> servers are, whereas I'd rather have it the other way round.
>

You can have it the other way round - just bind() on the subscriber socket
on the log server, and connect on the rest. The patterns don't care about
who binds and who connects.

Ian
_______________________________________________
zeromq-dev mailing list
[email protected]
http://lists.zeromq.org/mailman/listinfo/zeromq-dev

Reply via email to