zeromq/libzmq — pull request #1090 by hintjens (2014-06-11 16:26:59+00:00)
Title: Problem: zmq_ctx_get (ZMQ_MAX_SOCKETS) returns gibberish

Well, not gibberish, but 2^31 on Linux, which is useless. The code
should probably use getrlimit on Linux and other calls depending on
the system. For now I've set the ceiling at 64K.