[zeromq-dev] Message queuing broker for mobile device

Gang Liu gangban.lau at gmail.com
Mon Jan 12 07:41:43 CET 2015


Dear all,
            I am new to zeromq. I have a question about message
queuing broker (msgqueue.c) which use zmq_proxy() forward msgs between
frontend and backend.
            In my testing code, the mobile client is using ZMQ_DEALER
socket to connect to this broker. But after some time, I found there
are more and more connected TCP at  broker server side, all in
ESTABLISHED state. I am sure there are no more than ten clients and
even all apps in closed state.
            Because there are no way to get low level TCP sockets of
broker, so is there any way to clean those "DEAD" TCP connections when
clients at WI-FI or 3G env?

regards,
Gang



More information about the zeromq-dev mailing list