[zeromq-dev] 转发: zmq_connect api blocks zmq dealer message send/recv function
Zhili.Song(宋志理)
Zhili.Song at advantech.com.cn
Fri Aug 30 08:37:32 CEST 2019
发件人: Zhili.Song(宋志理)
发送时间: 2019年8月30日 14:35
收件人: zeromq-dev at lists.zeromq.org.
主题: zmq_connect api blocks zmq dealer message send/recv function
Hi, I use zmq to make inter-process transport. ZMQ_Dealer socket transport command, ZMQ Pub send data/event, ZMQ Sub receive data/event。 Each module has a dealer, event sub, data sub, data pub, event pub.
1. I found when event/data sub use ZMQ_Connect API to connect other module’s pub, The Dealer send/recv may interrupt 3~4 second. And The dealer use ZMQ_Poll to wait message and receive.
2.I use zmq_router as a command broker, a module dealer connect to zmq_router, sometimes, It needs 10 seconds until the broker receive the dealer message.
Thank you.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20190830/4ea44f3a/attachment.htm>
More information about the zeromq-dev
mailing list