[zeromq-dev] zmq_connect on SUB socket error errno 22

Jay Banyer jbanyer at gmail.com
Thu Dec 2 22:19:30 CET 2010


On 3 December 2010 07:47, Mikko Koppanen <mikko.koppanen at gmail.com> wrote:

> > $ ./Debug/zmq_test sub tcp://127.0.0.0.1:8000
> > Starting subscriber for tcp://127.0.0.0.1:8000
> > calling zmq_socket
> > connecting to tcp://127.0.0.0.1:8000
> > zmq_connect error: (22) Invalid argument
>
> Hello,
>
> it seems that you are passing '127.0.0.0.1' instead of '127.0.0.1' as
> the IP address so it's expected to fail with invalid argument.
>

Ah whoops, typo. But the same problem occurs with 127.0.0.1, or "localhost",
or "google.com", or any host.

Cheers,
Jay.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20101203/9b41f8be/attachment.htm>


More information about the zeromq-dev mailing list