[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://
> Starting subscriber for tcp://
> calling zmq_socket
> connecting to tcp://
> zmq_connect error: (22) Invalid argument


it seems that you are passing '' instead of '' as
the IP address so it's expected to fail with invalid argument.

Mikko Koppanen

More information about the zeromq-dev mailing list