[zeromq-dev] Zyre info request
Some time ago there was a discussion about auto discovery where zyre was mentioned. Since then I downloaded, compiled and installed and tried running the -minimal- examples. No luck: the sender fails no matter what I use as second parameter. I searched here and there for documentation but it seems pretty scarce. Can anyone suggest any in depth doc alloy zyre? I especially need message passing, file passing is quite down in the priority list. Thanks Claudio -- Sent from my ParanoidAndroid Galaxy Nexus with K-9 Mail.___ zeromq-dev mailing list zeromq-dev@lists.zeromq.org http://lists.zeromq.org/mailman/listinfo/zeromq-dev
Re: [zeromq-dev] Zyre info request
Hi Claudio, Some time ago there was a discussion about auto discovery where zyre was mentioned. Since then I downloaded, compiled and installed and tried running the -minimal- examples. It is actually documented from the inside out, starting in Chapter 8 of the Guide. If you just want to use it, rather less easy right now. We'll start putting together some basic docs soon. Start by getting zre_ping to run and connect to other nodes. Your network interface must support UDP broadcasts, so no loopback. At the least, an Ethernet connection, or WiFi. -Pieter ___ zeromq-dev mailing list zeromq-dev@lists.zeromq.org http://lists.zeromq.org/mailman/listinfo/zeromq-dev
Re: [zeromq-dev] Zyre info request
On 14/12/12 19:56, Pieter Hintjens wrote: It is actually documented from the inside out, starting in Chapter 8 of the Guide. Thanks, that's some nice reading. If you just want to use it, rather less easy right now. We'll start putting together some basic docs soon. Start by getting zre_ping to run and connect to other nodes. Your network interface must support UDP broadcasts, so no loopback. At the least, an Ethernet connection, or WiFi. I'll see what I can do. When I first tried I didn't get the requirement for 2 computers, but it's obvious when you think of it: no multicast on loopback. Thank you Claudio ___ zeromq-dev mailing list zeromq-dev@lists.zeromq.org http://lists.zeromq.org/mailman/listinfo/zeromq-dev
Re: [zeromq-dev] Zyre info request
You can run many nodes on one computer (e.g. zre_tester), but you need a network interface that supports broadcast; loopback doesn't do that. Here's what ifconfig shows on my laptop: eth0 Link encap:Ethernet HWaddr e8:11:32:c4:01:13 inet addr:192.168.0.136 Bcast:192.168.0.255 Mask:255.255.255.0 inet6 addr: fe80::ea11:32ff:fec4:113/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:6360804 errors:0 dropped:0 overruns:0 frame:0 TX packets:3942846 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:8152408546 (8.1 GB) TX bytes:752858841 (752.8 MB) Interrupt:41 Base address:0xa000 loLink encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 inet6 addr: ::1/128 Scope:Host UP LOOPBACK RUNNING MTU:16436 Metric:1 RX packets:926866 errors:0 dropped:0 overruns:0 frame:0 TX packets:926866 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:2015220456 (2.0 GB) TX bytes:2015220456 (2.0 GB) But if I unplug the Ethernet cable then eth0 stops working. So I need my eth0 up and connected in order to run multiple nodes on a single machine. We could eventually use another discovery mechanism for loopback. -Pieter On Fri, Dec 14, 2012 at 8:24 PM, Claudio Carbone erup...@libero.it wrote: On 14/12/12 19:56, Pieter Hintjens wrote: It is actually documented from the inside out, starting in Chapter 8 of the Guide. Thanks, that's some nice reading. If you just want to use it, rather less easy right now. We'll start putting together some basic docs soon. Start by getting zre_ping to run and connect to other nodes. Your network interface must support UDP broadcasts, so no loopback. At the least, an Ethernet connection, or WiFi. I'll see what I can do. When I first tried I didn't get the requirement for 2 computers, but it's obvious when you think of it: no multicast on loopback. Thank you Claudio ___ zeromq-dev mailing list zeromq-dev@lists.zeromq.org http://lists.zeromq.org/mailman/listinfo/zeromq-dev ___ zeromq-dev mailing list zeromq-dev@lists.zeromq.org http://lists.zeromq.org/mailman/listinfo/zeromq-dev