[zeromq-dev] client not reconnecting properly or syn-fin death spiral

Pieter Hintjens ph at imatix.com
Thu Oct 18 04:39:50 CEST 2012

On Thu, Oct 18, 2012 at 11:08 AM, Stephen Hemminger
<shemminger at vyatta.com> wrote:

> Client:
>      s1 = zsocket_new(ctx, ZMQ_SUB);
>      zsocket_set_identity(s1, configured_uuid);
>      zsocket_connect(s1, server_pub_endpoint);
>      s2 = zsocket_new(ctx, ZMQ_DEALER);
>      zsocket_set_identity(s2, configure_uuid);
>      zsocket_connect(s2, server_sync_endpoint);

Probably irrelevant, but setting identity on SUB and DEALER sockets is

> Is ZMQ trying to choose its own ephemeral ports? There appears to be no port
> randomization?

Not as far as I know.

If you like I'll get someone to dig into this. Do you have a minimal
reproducible case and/or budget for an hour or two of work?


More information about the zeromq-dev mailing list