[zeromq-dev] Monitored event on NetMQ
Leonard Michelet
leonard.michelet at openwide.fr
Mon Apr 20 16:29:37 CEST 2015
Hello, I'm using NetMQ nugget package 3.3.0.12-rc1 and I don't have all the event I expect while monitoring.
I create two dealer socket.
First I connect one (the client) to tcp://127.0.0.1:2154, and receive a CONNECT DELAYED.
Then I bind the other (the server) to tcp://*:2154, and receive a LISTENING followed by a ACCEPTED event. The client receive a CONNECTED event.
So far so good.
When I disconnect the client without receiving a single event server side.
Then I reconnect it and receive the usual CONNECT DELAYED, CONNECTED and ACCEPTED event.
And when I unbind the server I only receive a CLOSED event on server side, and nothing on client side.
Then I rebind it and receive only a LISTENING event server side...
When I do the same things with zmqcpp, I have event detecting disconnection and reconnection.
Is it something I do wrong?
Thank you for your help :-)
More information about the zeromq-dev
mailing list