Re: [zeromq-dev] Confirm authentication and retrieve metadata?

2015-04-09 Thread Steve Eley
> On Apr 9, 2015, at 1:07 AM, Pieter Hintjens wrote: > > zmq_connect doesn't expose security failures at all. These are visible > in the server side via ZAP, and in the client side via monitor events. > Also we added logging to libzmq in such cases. Thanks Peter. That confirms my observations a

[zeromq-dev] ZBeacon multiple interface support

2015-04-09 Thread Arnaud Loonstra
Hi All, I was refactoring the ZBeacon code in Pyre to start thinking about using it on multiple interfaces. Imagine a simple laptop with a wireless and wired NIC. ZBeacon now tries the first interface it can get its hands on or it tries INADDR_ANY. To support multiple interfaces it would need

Re: [zeromq-dev] Vector transmission via REQ-REP. Am I missing something obvious?

2015-04-09 Thread James Chapman
Serialisation! Of course. I was missing something obvious. Thanks On 9 April 2015 at 12:22, Dorvin wrote: > sizeof() for containers doesn't work the way you'd like to. You should > use size() function of std::vector. > > As you're using C++ i would recommend to change structs to objects (e

Re: [zeromq-dev] Fwd: 0MQ fails when it goes through a switch

2015-04-09 Thread Dorvin
W dniu 2015-04-05 o 09:55, Tony Pedley pisze: > It is possible I have badly written the large data transfer part, but I > would like to know why a switch would have an effect on TCP comms? > Switch receives frame and tries to forward it. But switch has some queues on each port. These queues are o

Re: [zeromq-dev] Vector transmission via REQ-REP. Am I missing something obvious?

2015-04-09 Thread Dorvin
sizeof() for containers doesn't work the way you'd like to. You should use size() function of std::vector. As you're using C++ i would recommend to change structs to objects (even without methods if you don't need them), overload operators << and >> for this class and do some simple serializati

[zeromq-dev] Vector transmission via REQ-REP. Am I missing something obvious?

2015-04-09 Thread James Chapman
-- In case this appears twice, sent again this time from the list subscribed account -- Hello list I could use some help... Using the REQ-REP model in C++ I'm trying to send a vector, but failing miserably and I can't work out why. Maybe this will never work? Maybe the idea of sending a vector is

Re: [zeromq-dev] Controlling initial connection retry/timeout

2015-04-09 Thread Benson Margulies
A small supplementary question, is it typical for production apps to use socket monitors to keep track of the existence of connections to peers? On Thu, Apr 9, 2015 at 1:22 AM, Andrew Hume wrote: > i wasn’t trying to cause trouble, and thanks for the clarification. > >> On Apr 8, 2015, at 10:20