[zeromq-dev] How to convert socket_t* to void *zocket so that I can integrate Strawhouse czmq to my c++ ZeroMQ project?

KIU Shueng Chuan nixchuan at gmail.com
Tue Dec 16 04:10:34 CET 2014


Try:
zsocket_set_zap_domain ((void*)(*m_socket_ptr), "global");

Both the zmq::context_t and zmq::socket_t implement operator void*() which
return the underlying libzmq context and socket void* handles.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20141216/8de1b616/attachment.htm>


More information about the zeromq-dev mailing list