Re: [zeromq-dev] Question about constness

2012-07-27 Thread Pieter Hintjens
On Tue, Jul 24, 2012 at 4:23 PM, Sebastian Lauwers sebastian.lauw...@gmail.com wrote: Checking the zeromq 3.2 RC [1], I see this still hasn't been applied---I don't know what the project's policy would be regarding breaking the 3.2 API after the first RC has been released. Constness is used a

Re: [zeromq-dev] Question about constness

2012-07-27 Thread Sebastian Lauwers
On 27/07/12 08:33, Pieter Hintjens wrote: I'd suggest leaving the C API as is, and improving the C++ API (in https://github.com/zeromq/cppzmq). Very well, I'll try to provide a patch tomorrow. -S. ___ zeromq-dev mailing list

Re: [zeromq-dev] [PATCH] [cppzmq] Add move constructor to message_t

2012-07-27 Thread Pieter Hintjens
Hi Richard, The process for contributions is described here: http://www.zeromq.org/docs:contributing Basically you want to make github pull requests against the cppzmq project. -Pieter On Thu, Jul 26, 2012 at 3:31 PM, richard_new...@waters.com wrote: Hi, In the C++ binding both context_t

Re: [zeromq-dev] If not Majordomo for asynchronous workers, then what?

2012-07-27 Thread Pieter Hintjens
Hi Ivan, Majordomo is based on a 1-to-1 request-reply model for workers, yes. You should be able to quite easily modify MDP to allow multiple replies, perhaps by adding a there's more coming indicator to replies that the broker uses to route several replies back to the same client. Modifying MDP

Re: [zeromq-dev] Re : Massive problems running ZMQ on android

2012-07-27 Thread jonas . adler
If i manually type in arm-linux-androideabi- and press tab twice i get a list of all the compilers (gcc, g++ etc), so it must be in my path. Also the command arm-linux-androideabi-gcc is executable. Seems there is an issue in your PATH. From the line 83 (and the others) it looks like the

Re: [zeromq-dev] Re : Massive problems running ZMQ on android

2012-07-27 Thread Victor Perron
I don't know what happens then with your configuration. Again, from your config.log: 1. 2. PATH: /usr/local/sbin 3. PATH: /usr/local/bin 4. PATH: /usr/sbin 5. PATH: /usr/bin 6. PATH: /sbin 7. PATH: /bin 8. 9. 10. ## --- ## 11. ## Core tests. ## 12. ##

Re: [zeromq-dev] Re : Massive problems running ZMQ on android

2012-07-27 Thread jonas . adler
I think i've found something. If I use sudo configure i get that arm-linux-androideabi-gcc isnt found, but when i dont use sudo and it is found, i get C compiler cannot create executables... arm-linux-androideabi-gcc - works sudo arm-linux-androideabi-gcc - command not found I don't know what

Re: [zeromq-dev] Re : Massive problems running ZMQ on android

2012-07-27 Thread Sebastian Lauwers
On 27/07/12 09:43, jonas.ad...@epiq.se wrote: I think i've found something. If I use sudo configure i get that arm-linux-androideabi-gcc isnt found, but when i dont use sudo and it is found, i get C compiler cannot create executables... As a rule of thumb, you should never use the super user

Re: [zeromq-dev] Re : Massive problems running ZMQ on android

2012-07-27 Thread jonas . adler
Ok i'll think about that from here on, but if i don't use a privileged user the ./conigure replies with C compiler cannot create executables, even though it find arm-linux-androideabi-gcc On 27/07/12 09:43, jonas.ad...@epiq.se wrote: I think i've found something. If I use sudo configure i get

Re: [zeromq-dev] Re : Massive problems running ZMQ on android

2012-07-27 Thread Victor Perron
That's weird. You run the build process in /tmp, which I chose to minimize those issues (it's generally chmodded 777) ; for the C compiler cannot create executables issue as non-su, - did you properly remove ALL the files from the previous compilation ? even the directories, the cloned gits, the

Re: [zeromq-dev] iOS build

2012-07-27 Thread Paolo Denti
Nick Forte nick at clrtouch.com writes: Has anyone successfully built libzmq.a and used it on iOS? Before I spend time getting a universal binary built for i386,arm6, and ... Take a look at: http://paolodenti.blog.com/2012/07/24/zeromq-ios/ Cheers

[zeromq-dev] C#/.NET CZMQ Library

2012-07-27 Thread Dave Rutlidge
Hi, I'm working through The Guide and want to try the CZMQ examples but can't find a library for .NET. How do I obtain it? I've tried the usual places and got the sources from github but they won't build in VS2012RC (hundreds on duplicate definition type errors). Can anyone help? Thanks Dave

Re: [zeromq-dev] Re : Massive problems running ZMQ on android

2012-07-27 Thread Victor Perron
OK, that's some progress. I doubt you really need ia32-libs for anything though, but whatever. You're not supposed to add the System.loadLibrary() call by yourself as ZMQ.java does it already. And about the last issue, the FATAL EXCEPTION: main, java.lang.NoClassDefFoundError: org.zeromq.ZMQ

Re: [zeromq-dev] [PATCH] [cppzmq] Add move constructor to message_t

2012-07-27 Thread Ian Barber
On Fri, Jul 27, 2012 at 8:03 AM, Pieter Hintjens p...@imatix.com wrote: Hi Richard, The process for contributions is described here: http://www.zeromq.org/docs:contributing Basically you want to make github pull requests against the cppzmq project. Hi Pieter, He both pull reqed and send a

Re: [zeromq-dev] ZMQ_MCAST_LOOP with PGM

2012-07-27 Thread Pierre Ynard
It can work well in a restricted environment, the disruptor team have shown great performance with Java and multicast loop but with the PGM protocol specifically there are problems and limitations that can break reliability. Problems such as...? I tried really hard but I couldn't figure out

[zeromq-dev] looking inside ZMQ queue

2012-07-27 Thread diffuser78
Hi All, I read the zguide and couldn't find the answer to it. I wanted to know if there is a deterministic way to find out if a message that I sent has actually reached the other end. Let me explain the scenario in detail. I am writing a lib (wrapped around ZMQ) for my app. App sends a message

Re: [zeromq-dev] looking inside ZMQ queue

2012-07-27 Thread Ian Barber
On Fri, Jul 27, 2012 at 6:26 PM, diffuser78 diffuse...@gmail.com wrote: What I want to know is that, ZMQ might have returned success upon buffering the message. But what if message is still in the queue and has not been delivered to the receiver for some reasons (say slow receiver). Is there a

Re: [zeromq-dev] looking inside ZMQ queue

2012-07-27 Thread diffuser78
Sorry about my ignorance and laziness. I read this on the FAQ page: *How do I determine how many messages are in queue?* *This isn't possible. At any given time a message may be in the ØMQ sender queue, the sender's kernel buffer, on the wire, in the receiver's kernel buffer or in the

[zeromq-dev] Assertion during zmq_recv in 3.x

2012-07-27 Thread Stuart Brandt
I get an assertion during a call to zmq_recv on 2 different OSes (OSX 10.7.4 and CentOS 5.8) under two different builds of 3.x (v3.2.0-rc1 and a recent build off latest at github.com/zeromq/libzmq). The assertion is: Assertion failed: (msg_-flags () msg_t::identity) == 0 (router.cpp:220)

Re: [zeromq-dev] looking inside ZMQ queue

2012-07-27 Thread Bennie Kloosteman
Like most systems ZeroMQ will just send the message to the transport when the transport has received the message ( eg TCP/IP )it is removed from ZeroMQ. There are no guarantees it has even been sent , yet alone that the transport layer on the other side has the message. This is pretty standard

Re: [zeromq-dev] ZMQ_MCAST_LOOP with PGM

2012-07-27 Thread Steven McCoy
On 27 July 2012 11:27, Pierre Ynard linkfa...@yahoo.fr wrote: It can work well in a restricted environment, the disruptor team have shown great performance with Java and multicast loop but with the PGM protocol specifically there are problems and limitations that can break reliability.

Re: [zeromq-dev] looking inside ZMQ queue

2012-07-27 Thread Pieter Hintjens
On Sat, Jul 28, 2012 at 2:26 AM, diffuser78 diffuse...@gmail.com wrote: I read the zguide and couldn't find the answer to it. I wanted to know if there is a deterministic way to find out if a message that I sent has actually reached the other end. The short answer is that if you need