[zeromq-dev] zmq_connect on SUB socket error errno 22
Mikko Koppanen
mikko.koppanen at gmail.com
Thu Dec 2 21:47:07 CET 2010
On Thu, Dec 2, 2010 at 8:41 PM, Jay Banyer <jbanyer at gmail.com> wrote:
> Run subscriber, it fails as follows:
>
> $ ./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.
Regards,
Mikko Koppanen
More information about the zeromq-dev
mailing list