On Mon, Mar 28, 2011 at 8:08 PM, gonzalo diethelm <[email protected]> wrote:

> Couldn't ctx be an index into an array of pointers to contexts? And each 
> context could have an array of pointers to sockets?

Sure, but those structures have to be threadsafe. Which is what the context is.

There is sadly no way to make socket into integers until context = kernel.

-Pieter
_______________________________________________
zeromq-dev mailing list
[email protected]
http://lists.zeromq.org/mailman/listinfo/zeromq-dev

Reply via email to