erlzmq bind failed #63

MichaelScofield opened this Issue Sep 4, 2013 · 1 comment


None yet

1 participant


On my laptop(Ubuntu 12.04 32bit) I tried to run erlzmq. I opened the erl shell, and tried this:

{ok, Context} = erlzmq:context().

It returned


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?

Sorry, my mistake. It should be:

erlzmq:bind(Responder, "tcp://*:5555").
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment