[zeromq-dev] question about integrating zmq socket fd in external select() loop

diffuser78 diffuser78 at gmail.com
Sat Aug 4 00:38:22 CEST 2012


Hi,

I am writing a lib that uses zmq. This lib is going to be used in an app
that already has an external select() loop. Can I use fd's retrieved from
ZMQ_FD from zmq_getsockopt() in that select loop successfully ?

Are there examples already that tell you how to do it ? Are there any
things that I should know ?

I read FAQ section related zmq_poll and also saw man zmq_getsocketopt for
ZMQ_FD.

I wanted to know the persoanl experience of some developer around this.

I greatly appreciate your response.

Thanks.

DJ
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20120803/4c8738dd/attachment.htm>


More information about the zeromq-dev mailing list