Re: [zeromq-dev] Titanic SP with encrypted data transfer

2012-12-14 Thread Jovan Kostovski
Thank you very much for the answer Pieter, On Fri, Dec 14, 2012 at 12:23 AM, Pieter Hintjens p...@imatix.com wrote: On Thu, Dec 13, 2012 at 11:42 PM, Jovan Kostovski chomb...@gmail.com wrote: I know that ZeroMQ supports TLS shared keys encryption... It doesn't, yet, unfortunately. Hm... I

Re: [zeromq-dev] Titanic SP with encrypted data transfer

2012-12-14 Thread Wes Young
ugh, this has been on my list for some time, slowly moving up the priority chain... (current target is mid-spring) https://github.com/wesyoung/libzmq if you wanna port it up the 3x tree and fiddle with it a bit. haven't touched it in a few months, and even then, only got it to compile. could

[zeromq-dev] Zyre info request

2012-12-14 Thread Claudio Carbone
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

[zeromq-dev] Unable to use PGM (compiled yet protocol not supported)

2012-12-14 Thread Claudio Carbone
Using stable 3.2.2, i compiled this way ./autogen.sh --with-pgm ./configure sudo make install I can see these files being compiled CXXlibzmq_la-pgm_receiver.lo CXXlibzmq_la-pgm_sender.lo CXXlibzmq_la-pgm_socket.lo among the others, yet any program attempting to use PGM

[zeromq-dev] C++ syntax for new ZMQ objects

2012-12-14 Thread Claudio Carbone
Hello all. I'm surely a noob in C++, so I am having difficulties managing ZMQ in this language. I'm creating a class that will include both a client and a server so I have this structure namespace Saetta { class Server { public: Server(void);

Re: [zeromq-dev] Zyre info request

2012-12-14 Thread Pieter Hintjens
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

Re: [zeromq-dev] Zyre info request

2012-12-14 Thread Claudio Carbone
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

Re: [zeromq-dev] Zyre info request

2012-12-14 Thread Pieter Hintjens
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

[zeromq-dev] socket writability and events

2012-12-14 Thread Justin Karneges
Hi, Is it possible that a socket could be determined to be writable but then actually isn't writable at the time of write? For example, say a connection exists on a bind socket and ZMQ_POLLOUT is indicated. But then just before calling zmq_send(), the connection is destroyed. A socket that was

Re: [zeromq-dev] socket writability and events

2012-12-14 Thread Pieter Hintjens
Part 1. the behaviour isn't documented but what you suggest makes sense. You should be able to reproduce it. Part 2. not documented, again, would need to test to be sure. Once we have reproducible cases we can see whether these are bugs to fix, or expected effects to document. -Pieter On Fri,

Re: [zeromq-dev] socket writability and events

2012-12-14 Thread Justin Karneges
Ok some quick testing within my app confirms that EAGAIN will be returned if a socket turns out to be unwritable, even after indicating writability. For example, if a tcp connection is established, POLLOUT is indicated, the tcp connection is broken, and then a write is attempted. Personally I

Re: [zeromq-dev] Unable to use PGM (compiled yet protocol not supported)

2012-12-14 Thread Ian Barber
On Fri, Dec 14, 2012 at 5:15 PM, Claudio Carbone erup...@libero.it wrote: http://lists.zeromq.org/mailman/listinfo/zeromq-dev Pass the --with-pgm flag on the configure. Ian ___ zeromq-dev mailing list zeromq-dev@lists.zeromq.org