[zeromq-dev] Questions about erlzmq

Michael Scofield bayinamine at gmail.com
Wed Sep 4 08:37:34 CEST 2013


Hi:
I've just install the erlzmq2 <https://github.com/zeromq/erlzmq2> on my
laptop(Ubuntu 12.04 32bit).
I decided to try it. So I opened the erl shell, and tried this:
{ok, Context} = erlzmq:context().
It returned
{ok,<<>>}
Something was not right here: the Context were just empty bits!
Then I continued:
{ok, Responder} = erlzmq:socket(Context, rep).
erlzmq:bind(Responder, "tcp://*5555").
here came the error when the last statement was executed:
{error, einval}
How such error happened?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20130904/238ece64/attachment.htm>


More information about the zeromq-dev mailing list