Re: [zeromq-dev] CZMQ Windows Build

2013-10-03 Thread Ho-Gyun Choi
I have successfully cross-compiled the latest ZMQ and CZMQ for Windows 7 x86_64 from an Ubuntu Linux machine. I used the x86_64_w64-mingw32 toolset. Thank you Laurent for the guidance, it was very helpful. But for future reference, by adding the CXXFLAGS= -static-libgcc -static-libstdc++ during c

Re: [zeromq-dev] curve handcheck recovery behaviour ?

2013-10-03 Thread Martin Hurton
Hi Laurent, curve_server_t implements mechanism interface. As for handshake, there are two generic functions: next_handshake_command and process_handshake_command. These functions are used to generate and process handshake messages and are usually implemented as state machines. Those two functions

Re: [zeromq-dev] Certificate formats

2013-10-03 Thread Tom Cocagne
One of the widely accepted failures of the existing TLS security model is that the certificate handling approach is overly complex and easy to get wrong. A while back I spent several days with the OpenSSL book and a bottle of aspirin in an attempt to accomplish a single goal: "Ensure that these two

Re: [zeromq-dev] is 0MQ for me ?

2013-10-03 Thread bino
dear Mathias Hablützel I Really appreciate your help > On Thu, Oct 03, 2013 at 09:33:24AM +, b...@indoakses-online.com wrote: >> Now .. the problem. >> In the current time ..I found many Arm Based board that can run linux in >> it. so I want to use MQ solution that >> 1. Small foot print so I

Re: [zeromq-dev] FileMQ Manual Send/Recv + Symbolic Link

2013-10-03 Thread Ho-Gyun Choi
> Can I ask, are you making an application based on FileMQ? Will that be > open source? I am trying to automate and connect a series of systems that are currently only manually operable in single nodes using ZMQ into a distributed system. In the process, file transfers in both directions are requi

Re: [zeromq-dev] Certificate formats

2013-10-03 Thread crocket
Rich Hickey(the creator of clojure) said it is not wise to collect requirements from people because people in general don't know what they need, so their stated requirements tend to be useless. He says it's better to collect problems and figure out solutions for others. I'm no expert in any aspects

Re: [zeromq-dev] Using other kinds of certificates with CurveZMQ

2013-10-03 Thread Pieter Hintjens
On Fri, Oct 4, 2013 at 12:34 AM, Steve Carney wrote: > I have an infrastructure with existing certificates that is not ready to > move to CurveCP yet.Does CurveZMQ have an underlying framework (due > using SASL) that I could use to implement SSL authentication (with and > without encryption)?

[zeromq-dev] Using other kinds of certificates with CurveZMQ

2013-10-03 Thread Steve Carney
[I'm new to ZMQ, sorry for any repetition or naïve questions] I have an infrastructure with existing certificates that is not ready to move to CurveCP yet.Does CurveZMQ have an underlying framework (due using SASL) that I could use to implement SSL authentication (with and without encryption

Re: [zeromq-dev] Certificate formats

2013-10-03 Thread Tony Arcieri
On Wed, Oct 2, 2013 at 12:11 AM, Pieter Hintjens wrote: > So this may be a very stupid question, but what does a certificate > have to hold that is so complex? Well, first, I'm not sure what I'm describing that's "so complex" ;) Simplicity is my aim! But there are many things certificates need

Re: [zeromq-dev] curve handcheck recovery behaviour ?

2013-10-03 Thread Laurent Alebarde
Hi Pieter, Thank you for your quick answer. Concerning *EAGAIN*, it appears in the method : /int zmq::curve_client|server_t::next_handshake_command (msg_t *msg_)/ when the machine state is in an unexpected state (default to switch(state) when it is not /expect_welcome/ nor /expect_ready/). This

Re: [zeromq-dev] zmq_recvmsg jni

2013-10-03 Thread gonzalo diethelm
> There is no way (that I know of) to pass a Java byte array to the underlying > c/c++ function without a copy. What the DirectByteBuffer allows you to do is > get the pointer to the memory region it references and you can pass this > along to zmq_recv eliminating the need to do a copy between boun

Re: [zeromq-dev] zmq_recvmsg jni

2013-10-03 Thread Trevor Bernard
> Still curious. Does it mean that using DirectByteBuffer only makes > sense if one uses ZMQ+Disruptor? Not at all. That's just one example of how I do it. > -- what we win here There is no way (that I know of) to pass a Java byte array to the underlying c/c++ function without a copy. What the D

Re: [zeromq-dev] curve handcheck recovery behaviour ?

2013-10-03 Thread Pieter Hintjens
Hi Laurent, Afaiu, EAGAIN is for internal retrying; EINTR is an interrupted process, and EPROTO is an actual handshake error, which always leads to the connection being broken. There's no handshake recovery process. -Pieter On Thu, Oct 3, 2013 at 12:03 PM, Laurent Alebarde wrote: > Hi Developpe

Re: [zeromq-dev] Publish on multiple topics

2013-10-03 Thread Pieter Hintjens
Kuldeep, if you look at the basic pub-sub examples in the Guide you will understand how this works. -Pieter On Thu, Oct 3, 2013 at 8:47 AM, Kuldeep Bora wrote: > Is it possible to publish a message on pub socket for multiple topics? > > Thanks > > ___

Re: [zeromq-dev] Unsure of the best topology

2013-10-03 Thread Kieran Evans
Hi Artem, Sorry, I think I was unclear. All the workers are identical, I just meant that currently, if I were to add a new method to the REST API exposed by the Workers, I'd have to add that call to the public end point, and the proxy too, whereas all they really need to do is pass a message.

Re: [zeromq-dev] is 0MQ for me ?

2013-10-03 Thread Pieter Hintjens
On Thu, Oct 3, 2013 at 11:33 AM, wrote: > Now .. the problem. > In the current time ..I found many Arm Based board that can run linux in > it. so I want to use MQ solution that > 1. Small foot print so I can run it in ARM based board (i.e : Cubie Board, > raspberry pi, BeagleBone) > 2. Can auto-

[zeromq-dev] curve handcheck recovery behaviour ?

2013-10-03 Thread Laurent Alebarde
Hi Developpers, Could you please explain me how the curve handcheck behave when a bad packet is detected ? There are different types of errors : EPROTO, EINTR, EAGAIN, etc.. Some are fatal, others lead to a retry, others possibly to a abandon of the connexion. I understand for example that E

[zeromq-dev] Publish on multiple topics

2013-10-03 Thread Kuldeep Bora
Is it possible to publish a message on pub socket for multiple topics? Thanks ___ zeromq-dev mailing list zeromq-dev@lists.zeromq.org http://lists.zeromq.org/mailman/listinfo/zeromq-dev

Re: [zeromq-dev] is 0MQ for me ?

2013-10-03 Thread Mathias Hablützel
Hi Bino, On Thu, Oct 03, 2013 at 09:33:24AM +, b...@indoakses-online.com wrote: > Now .. the problem. > In the current time ..I found many Arm Based board that can run linux in > it. so I want to use MQ solution that > 1. Small foot print so I can run it in ARM based board (i.e : Cubie Board,

[zeromq-dev] is 0MQ for me ?

2013-10-03 Thread bino
Dear All ... Currently I have deployment of RabbitMQ for a specific need. It's for telemetry of vessel. In short description : I have 2 PC : a. rover unit : a mini ITX running RabbitMQ b. central unit : just common PC running RabbitMQ in #a, I have python daemon listening to some RS232 based mic