Config type Hash for sockopt doesn't work on zeromq


So the problem is that ffi-rzmq requires that certain sockopts be specified as an integer. Others must be done as a string. No casting is done at all.

At worst, the changes will require us to basically cast everything to an int except those sockopts we know are strings. Currently there are only three so it shouldn't be that big of a deal.

What concerns me is spurious errors around casting issues or worse someone puts something intended as an integer in as a string and we cast it with to_i and it does something unexpected.


John E. Vincent


John E. Vincent



Fix versions

Affects versions