The correct syntax would be "tcp://*:5555" (note the extra ':')
On Wed, Sep 4, 2013 at 8:37 AM, Michael Scofield <[email protected]> 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 > [email protected] > http://lists.zeromq.org/mailman/listinfo/zeromq-dev > _______________________________________________ zeromq-dev mailing list [email protected] http://lists.zeromq.org/mailman/listinfo/zeromq-dev
