[zeromq-dev] A question about FLP

Matias GUIJARRO matias.guijarro at esrf.fr
Mon Jul 25 18:01:09 CEST 2011

Hi all :-)

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.

I am still not too confident about the meaning of XREP/XREQ anyway...
Perhaps I should re-read the first chapters more carefully ! I am sure
I am missing something very important.

I also have another question :
- I tried to make a quick test of two XREP sockets in Python, I can't make
them to communicate... Is there a Python example of two XREP sockets used
in a client/server way similar to the FLP described in the Guide, but 
simpler ?

Thanks in advance for your help,

More information about the zeromq-dev mailing list