Hi Douglas, have a look a malamute (https://github.com/zeromq/malamulte) which should work for your use case.
//Kevin 2016-06-08 16:07 GMT+02:00 Douglas Petican <[email protected]>: > I want to enforce a one to one relationship between client and dynamically > spawned worker. I asked before on the list and was told to use a router > router broker. However, I can't get my code to work in anyway with a > router on both the frontend and backend of the broker. Nothing happens. > It only works (almost) with a dealer backend. > > The first client connects okay and the worker is spawned dynamically. > When the second client connects a new worker is spawned and the second > client and worker talk to each other exclusively, but the first client > talks to both workers which is not what I want. > > My broker code is here: http://pastebin.com/eKVQ7VwR > > The client/worker code is here: http://pastebin.com/5tU9BZRn > > -- > <-Douglas Petican-> > > _______________________________________________ > 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
