[zeromq-dev] C++, socket_t, and poll

David Hait dhait at optionmetrics.com
Wed Oct 27 17:51:12 CEST 2010


> > 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.
>

Yes, but once you receive the notification, and you have the item.socket (which is a void*), how do you cast this back to a socket_t?  There is no constructor for socket_t which takes a void*.



More information about the zeromq-dev mailing list