[zeromq-dev] Questions about erlzmq
Pieter Hintjens
ph at imatix.com
Wed Sep 4 09:22:05 CEST 2013
The correct syntax would be "tcp://*:5555" (note the extra ':')
On Wed, Sep 4, 2013 at 8:37 AM, Michael Scofield <bayinamine at gmail.com> wrote:
> Hi:
> I've just install the 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?
>
> _______________________________________________
> zeromq-dev mailing list
> zeromq-dev at lists.zeromq.org
> http://lists.zeromq.org/mailman/listinfo/zeromq-dev
>
More information about the zeromq-dev
mailing list