Problem: linger values other than -1 or 0 are unsafe
Solution: set defaults back to infinity, and add new context option, ZMQ_BLOCKY that the user can set to false to get a less surprising behavior on context termination. Eg. zmq_ctx_set (ctx, ZMQ_BLOCKY, false);
Showing
Please
register
or
sign in
to comment