In your example, the router should be at the central machine and the dealers at the clients. Verify that you create a good envelope containing the address of your clients. So use the first link but check again your router addresses.
2012/9/12 David Kaufman <[email protected]> > Hi, > > I'm a little bit confused. Is this the example I should be working > with http://zguide.zeromq.org/php:chapter3#ROUTER-to-DEALER-Routing ? > It seems that I'm only able to send messages to the clients (recording > devices) but not the other way around. > > The next example I looked at was > http://zguide.zeromq.org/php:chapter3#Asynchronous-Client-Server ? > Which looks awful complicated. Are the extra worker threads on the > server side really necessary? I want to keep it as simple as possible. > > By the way, I'm using python as the programming language. Do you have > any hints/examples/documentation pointers? > > Cheers, > David Kaufman > > > 2012/9/11 Michel Pelletier <[email protected]>: > > If your master uses a ROUTER socket, it can address each recording > > device individually to issue it start/stop commands. The devices > > themselves can use a DEALER socket to both receive/respond to > > commands, and to send recording data without acknowledgement. > > Neither DEALER or ROUTER are synchronously bound like REQ/REP. > > > > -Michel > > > > On Tue, Sep 11, 2012 at 5:21 AM, David Kaufman <[email protected]> > wrote: > >> Hi ZeroMQ Community, > >> > >> I'm currently working on a small project where multiple machines > >> output data from a recording device (e.g. audio data). Note that a > >> recording device is just another zeromq capable client. A master > >> machine collects the output of each recording device. The recording > >> device is selected, initiated and stopped by the master machine. To > >> sum up, the master has to communicate with each recording devices in a > >> bidirectional fashion. > >> > >> The request/replay message pattern works but produces unnecessary > >> overhead since the master machine hast to reply to every data packet > >> the recording device sends. Is there a cleaner solution, perhaps a > >> paired socket? Do you have any suggestions? > >> > >> Cheers, > >> David Kaufman > >> _______________________________________________ > >> zeromq-dev mailing list > >> [email protected] > >> http://lists.zeromq.org/mailman/listinfo/zeromq-dev > > _______________________________________________ > > zeromq-dev mailing list > > [email protected] > > http://lists.zeromq.org/mailman/listinfo/zeromq-dev > _______________________________________________ > zeromq-dev mailing list > [email protected] > http://lists.zeromq.org/mailman/listinfo/zeromq-dev > -- Sincerely yours, Apostolis Xekoukoulotakis
_______________________________________________ zeromq-dev mailing list [email protected] http://lists.zeromq.org/mailman/listinfo/zeromq-dev
