[zeromq-dev] req+pub on same address?

Matthew Woehlke matthew.woehlke at kitware.com
Fri Apr 5 19:47:10 CEST 2013


I have an interactive publish application that takes a request from a 
client and does various computations which result in an ongoing stream 
of results. Is there a way to implement this with *one* bind address on 
the publisher? (I don't care if it involves multiple sockets internally, 
just as long as the user of the client only needs to specify one address 
for the server.)

I was thinking of using XPUB+XSUB or XPUB+{SUB,PUSH} but it is not at 
all clear from the documentation if this will work... What is the 
appropriate way to write an application that can both receive and 
publish messages on the same address?

-- 
Matthew




More information about the zeromq-dev mailing list