On Fri, Sep 24, 2010 at 2:14 AM, Brian Granger <[email protected]> wrote:
>> I could use such a function and can think of a couple of use cases. One of >> them would be adding many sockets (of possibly different types) to a >> collection, and then iterating over that collection and taking action on the >> sockets depending on their type. > > Yep, we have run into this need a couple of time. One usage case that > we had is a custom device that needed to do special logic for XREP > sockets with the identities. It would be great to have a function > like the one proposed below. I've been thinking of making a repackaging of the basic sockets with other functionality. For example it'd be nice to be able to create a socket and configure it in one step providing a config structure as we're using for devices in some cases. This kind of functionality would then be trivial to add. - Pieter Hintjens iMatix - www.imatix.com _______________________________________________ zeromq-dev mailing list [email protected] http://lists.zeromq.org/mailman/listinfo/zeromq-dev
