Re: [zeromq-dev] It looks like socket id's can't change with a router-router topology. Is that correct?

2014-09-18 Thread Goswin von Brederlow
On Wed, Sep 17, 2014 at 03:55:09PM -0400, Mark Wright wrote: I have a router-router setup (destination IDs are acquired via a broadcast/response, similar to the Freelance pattern in the ZMQ book). I've noticed that if my destinations go down and come back up with a new ID, clients can't

Re: [zeromq-dev] 0MQ-based proxy worker crashes with Assertion failed: pipe (bundled/zeromq/src/session_base.cpp:441)

2014-09-18 Thread Tomas Krajca
Awesome, that's really cool. I haven't seen the proxy crash against master yet (otherwise it always crashed eventually). I haven't had a chance to let the proxy run against master for more than a day (testing in dev), I will let it run over the weekend. If all is good, it would be great to

Re: [zeromq-dev] Trouble sending from ROUTER to DEALER

2014-09-18 Thread KIU Shueng Chuan
Here's a simple zmq router example using the same endpoint as your zmqrouter.cpp https://gist.github.com/pijyoi/9088034e36f85e0c0aac https://github.com/pijyoi/msg_parts/blob/master/msg_parts.hpp On Thu, Sep 18, 2014 at 12:26 AM, Riskybiz riskybizl...@live.com wrote: Ok. I've been trying to

[zeromq-dev] Trouble sending from ROUTER to DEALER

2014-09-18 Thread Riskybiz
not use the same data type for the identity part? The identity and non-identity parts are just data blobs. -- next part -- An HTML attachment was scrubbed... URL: http://lists.zeromq.org/pipermail/zeromq-dev/attachments/20140918/16c66bdd/a ttachment-0001.htm

[zeromq-dev] Support for POLLPRI flag

2014-09-18 Thread Arnaud Kapp
Hello, I'd like to use the zmq_poll() function to monitor both zmq's sockets and file descriptor. My use case is monitoring GPIO pins (through /sys/class/gpio/*). The think is, to monitor interrupt on the GPIO pins, the POLLPRI flags needs to be passed to poll(). This doesn't seem to be

Re: [zeromq-dev] distributed message bus on top of / built with zeromq?

2014-09-18 Thread Sabri Skhiri
Dear Holger, We detected the necessity to create a lightweight and elastic bus on top of ZeroMQ in the end of 2010. At that time we started an internal research project and we published our first conclusion in 2011 at the IEEE CloudCom conference

Re: [zeromq-dev] It looks like socket id's can't change with a router-router topology. Is that correct?

2014-09-18 Thread Justin Karneges
On 09/18/2014 02:23 AM, Goswin von Brederlow wrote: On Wed, Sep 17, 2014 at 03:55:09PM -0400, Mark Wright wrote: I have a router-router setup (destination IDs are acquired via a broadcast/response, similar to the Freelance pattern in the ZMQ book). I've noticed that if my destinations go

Re: [zeromq-dev] ZMTP security

2014-09-18 Thread Matthew Hawn
I was thinking more of a malicious man-in-the-middle. I have a test case available that downgrades curve to null. From: zeromq-dev-boun...@lists.zeromq.org [zeromq-dev-boun...@lists.zeromq.org] on behalf of Pieter Hintjens [p...@imatix.com] Sent:

Re: [zeromq-dev] Trouble sending from ROUTER to DEALER

2014-09-18 Thread KIU Shueng Chuan
zmq_msg_init_size(messageOut, sizeof id ); memcpy(zmq_msg_data(messageOut), id, sizeof id); In the above 2 lines in your multipartmsg.h, replace sizeof id with id.size() and id with id.data(). ___ zeromq-dev mailing list zeromq-dev@lists.zeromq.org

Re: [zeromq-dev] Support for POLLPRI flag

2014-09-18 Thread Pieter Hintjens
Presumably no-one needed it. If you can implement it, and send a patch, that would be welcome. On Thu, Sep 18, 2014 at 6:11 PM, Arnaud Kapp kapp.a...@gmail.com wrote: Hello, I'd like to use the zmq_poll() function to monitor both zmq's sockets and file descriptor. My use case is monitoring

Re: [zeromq-dev] It looks like socket id's can't change with a router-router topology. Is that correct?

2014-09-18 Thread Pieter Hintjens
It's the ZMQ_ROUTER_HANDOVER option. On Thu, Sep 18, 2014 at 7:28 PM, Justin Karneges jus...@affinix.com wrote: On 09/18/2014 02:23 AM, Goswin von Brederlow wrote: On Wed, Sep 17, 2014 at 03:55:09PM -0400, Mark Wright wrote: I have a router-router setup (destination IDs are acquired via a