Jianhua Cao wrote: > Can anyone give some hint on how to integrate zmq socket in an > asynchronous loop like epoll? As far as I understand, you are asking for something like zmq_poll function: http://api.zeromq.org/zmq_poll.3.html Martin