[zeromq-dev] ZMQ_EVENT_DISCONNECTED reason?

2014-12-03 Thread Keith Henrickson
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. Wo

[zeromq-dev] ZMQ allows two sockets to bind to the same address/port on OS X.

2014-11-07 Thread Keith Henrickson
I put together the following program to show the issue. It seems if the option ZMQ_IPV4ONLY is set to 0 (to enable IPV6), then ZMQ as running on OS X allows two sockets to bind to the same port, provided the address used is 0.0.0.0. For instance, as in the test program, I can construct two socke

Re: [zeromq-dev] Welcome to the "zeromq-dev" mailing list

2014-05-30 Thread Keith Henrickson
I’m curious about the answer here myself, since our use case is similar. Since there don't seem to be any explicit notifications that a client connects or disconnects (outside the ZAP interface when negotiating security), we are thinking of using some type of sliding window and DEALER/ROUTER so

Re: [zeromq-dev] Curve question... changing keys after binding server socket...

2014-05-21 Thread Keith Henrickson
ection is established the LT keys aren't used again. > This is inherent in the CurveZMQ design. You could and would normally > force all connections to end, by restarting the server. > > > On Tue, May 20, 2014 at 2:44 AM, Keith Henrickson > wrote: >> Presently once

[zeromq-dev] Curve question... changing keys after binding server socket...

2014-05-19 Thread Keith Henrickson
Presently once the server socket is bound, the keys can never change, as they’re not read from the socket options again. Not a bad idea, but I’m wondering if that would ever change? Would the server-side ever be changed to read the keys from the options upon each connection? If the server keys