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

2012-07-27 Thread OJ Reeves
Dave, Do you absolutely need to build it from source? Why not use the NuGet packages? http://nuget.org/packages/clrzmq http://nuget.org/packages/clrzmq-x64 Cheers. OJ On Fri, Jul 27, 2012 at 8:42 PM, Dave Rutlidge < d...@directdataservices.co.uk> wrote: > Hi, > > I'm working through The Guid

Re: [zeromq-dev] looking inside ZMQ queue

2012-07-27 Thread Pieter Hintjens
On Sat, Jul 28, 2012 at 2:26 AM, diffuser78 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 information from the recei

Re: [zeromq-dev] ZMQ_MCAST_LOOP with PGM

2012-07-27 Thread Steven McCoy
On 27 July 2012 11:27, Pierre Ynard 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. > > Problems

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 TCP

[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) Abor

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 receiver's

Re: [zeromq-dev] looking inside ZMQ queue

2012-07-27 Thread Ian Barber
On Fri, Jul 27, 2012 at 6:26 PM, diffuser78 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 > way I can peek i

[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 M

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 o

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 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 patch. Me

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" m

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

2012-07-27 Thread jonas . adler
I reinstalled Ubuntu (it's not my work machine, just using it to build for android) and got a problem that the C compiler couldn't create executables again but some searching on google i found that i needed "ia32-libs" package because i was running a x64 ubuntu and the NDK is compiled for 32-bit.

[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] iOS build

2012-07-27 Thread Paolo Denti
Nick Forte 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 ___

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] 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 i get that >

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 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 to per

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 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 happen

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
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] 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 MD

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, wrote: > Hi, > > In the C++ binding both context_t and socket_t have move c