zzxx-husky/zeromq-scala-binding

The binding may throw exceptions when working with libzmq-5.0.0

zzxx-husky opened this issue · 3 comments

Exception in thread "Thread-22" org.zeromq.ZMQException: No such file or directory
at org.zeromq.ZMQ$Socket.raiseZMQException(ZeroMQLibrary.scala:663)
at org.zeromq.ZMQ$Socket.recv(ZeroMQLibrary.scala:594)
at ...

Try fixing.

My test ran very well on win7 using ZMQ-4.0.4 (that is, the test runs 10 times and shows nothing wrong). But it fails easily when running on Fedora using libzmq-5.0.0.

The libzmq-5.0.0 is compiled from ZMQ-4.1.4.

See my new branch, which supports for zmq-4.1.4:
https://github.com/zzxx-husky/zeromq-scala-binding/tree/zmq-4.1.4