[zeromq-dev] ZMQ_EVENT_DISCONNECTED reason?
Keith Henrickson
Keith.Henrickson at nominum.com
Wed Dec 3 19:56:05 CET 2014
The documentation just states that this event occurs when a connection is disconnected ‘unexpectedly’.
It would be useful, simply from a logging point of view, to be able to know WHY the session got disconnected.
Certain error codes imply certain network troubleshooting steps, for instance.
Would it be possible to somehow return the errno rather than the file descriptor?
More information about the zeromq-dev
mailing list