[zeromq-dev] A question about FLP

Matias GUIJARRO matias.guijarro at esrf.fr
Tue Jul 26 09:24:16 CEST 2011


On 25/07/2011 18:51, Pieter Hintjens wrote:
> On Mon, Jul 25, 2011 at 6:01 PM, Matias GUIJARRO
> <matias.guijarro at esrf.fr>  wrote:
>> I am reading the ZMQ Guide, and I have the following question I can't
>> find any answer ; sorry if the answer is obvious or if someone already
>> asked for it, but it really puzzles me :
>> - why do the FLP (Freelance Protocol) specify to use ROUTER (XREP?)
>> sockets for both server and client ? Naively I would have used XREP
>> for the server and XREQ for the client in a kind of RPC scheme.
> There is a long explanation of why I use ROUTER-to-ROUTER sockets for
> FLP, by comparing three different possibilities. If that's not clear
> then I don't know how to explain it better :-)
> It is really an advanced design and only makes sense if you've read
> the preceding text.

Yes, you're right! I should have re-read it again better before asking.

Thanks a lot Martin, Ian and Pieter for your answers.

It's clearer now ; I also managed to get my test working.

Thanks again,

More information about the zeromq-dev mailing list