zeromq/jzmq — pull request #134 by Lothiraldan (2012-10-22 11:15:41+00:00)
Title: Add bindToRandomPort method to Socket class.

Code come from python binding, https://github.com/zeromq/pyzmq/blob/master/zmq/core/pysocket.py#L114.

Also, I raise exception if errno != EADDRINUSE().