Hey, I believe the address in the connect call should match the address in the bind call.
Thanks, Shon On Mon, Jul 1, 2013 at 9:30 AM, ashwini ramamurthy <[email protected]>wrote: > Thanks for the link . I went through it . I have done something very > similar. > As this is just a test app i have fixed the ip address i.e ip is not > given by the user. I am using the req-reply pattern where i have one client > and one server. Both the devices are connected to the same wifi . I have > obtained the ip address from the phone and used that to connect. > But still i don't see any messages being received by the server. I don't > know where i am going wrong and what i am missing. > > Below is the code used to connect > > // in the server > ZMQ.Socket socket = context.socket(ZMQ.REP); > socket.bind("tcp://11.22.6.161:8080");// in the client > ZMQ.Socket s = context.socket(ZMQ.REQ); > s.connect("tcp://11.22.6.142:8080"); > > > Any tips or suggestions would be really helpful. > > Thanks, > Ashwini > > > On Mon, Jul 1, 2013 at 12:04 AM, shancat <[email protected]> wrote: > >> Check out https://github.com/eggerdo/ZmqVideoChat >> On Jul 1, 2013 2:02 PM, "ashwini ramamurthy" <[email protected]> >> wrote: >> >>> Hi, >>> >>> I wanted 2 android apps in different devices to communicate using >>> zeromq. Both the devices will be in the same network and connected to the >>> same wifi . I went through the guide :chapter 8 but im still unsure how to >>> go about it. Any ideas, tips would be really helpful. >>> >>> Thanks, >>> Ashwini >>> >>> _______________________________________________ >>> 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 >> >> > > _______________________________________________ > zeromq-dev mailing list > [email protected] > http://lists.zeromq.org/mailman/listinfo/zeromq-dev > > -- Shon C. Love Programmer
_______________________________________________ zeromq-dev mailing list [email protected] http://lists.zeromq.org/mailman/listinfo/zeromq-dev
