David, > When zmq::poll tells you that there is activity on a socket, how can you > get a socket_t corresponding to the appropriate item? It's the one you've initialised the pollitem from. > It seems that there is no conversion between item.socket (which is a > void*) and socket_t. There's a (void*) cast operator overloaded on socket_t. Martin