[zeromq-dev] Unable to use ZeroMQ 3.2 in my Android application

Pieter Hintjens ph at imatix.com
Wed May 15 15:04:32 CEST 2013


On Wed, May 15, 2013 at 11:11 AM, Ranjeet Kumar <xs2ranjeet at gmail.com> wrote:

> Thanks for your reply.
> But does it mean that we can't use ZeroMQ/JZMQ in Android?

You can use it, and many people do, but building it has always been
tricky because the toolchain is complex and changes over time.

> when  i tried to run this part of code
> ZMQ.Socket socket = context.socket(ZMQ.REQ);
>            socket.connect ("tcp://localhost:5555");
> I am getting a runtime exception.

Sounds like "localhost" isn't resolving; try 127.0.0.1.

-Pieter



More information about the zeromq-dev mailing list