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
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
ashwini.ra...@gmail.comwrote:
Thanks for the link . I went through it . I have done something very
similar.
As this is just a test app
Oh,is it ? But the client and server are in 2 different devices so they have
different ip addresses . I thought the Port number should be the same not the
IP address .
On 01-Jul-2013, at 1:12 PM, Shon Love sl...@fatpot.com wrote:
Hey,
I believe the address in the connect call should
If I read the docs correctly, you do not need to bind (the server) to a
specific IP address.
tcp://*:8080
You can bind to all interfaces and all adresses at once on a specific port
number.
Then you connect() to the IP address of the OTHER side (not your own, so
the client connects to the server
Thanks edwin, yes 11.22.6.143 is the servers ip address.
// in the client
ZMQ.Socket s = context.socket(ZMQ.REQ);
s.connect(tcp://11.22.6.142:8080);
I used the ping and dns app in android to see if i could ping the other
device. I am able to ping with the above ip address but my app is not able
The IPs should match - you connect from one to the other (so you bind on
one, connect to that one from the other). I would definitely recommend
working through the guide a little to get the basic concepts down:
http://zguide.zeromq.org
Ian
On Mon, Jul 1, 2013 at 9:05 PM, ashwini ramamurthy
If I read the docs correctly, you do not need to bind (the server) to a
specific IP address.
You can bind to all interfaces and all adresses at once on a specific port
number.
Then you connect() to the IP address of the OTHER side, not your own, so
the client connects to the server IP:port
Good
Thanks Edwin and Ian .You were right. I had to use the same IP address.
Thanks again for your inputs. Was really helpful.
-Ashwini
On Mon, Jul 1, 2013 at 1:50 PM, Edwin van den Oetelaar
oetelaar.automatiser...@gmail.com wrote:
If I read the docs correctly, you do not need to bind (the
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
Check out https://github.com/eggerdo/ZmqVideoChat
On Jul 1, 2013 2:02 PM, ashwini ramamurthy ashwini.ra...@gmail.com
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
10 matches
Mail list logo