Re: [zeromq-dev] ZMQ Freezing Windows

2012-08-06 Thread Pieter Hintjens
On Tue, Aug 7, 2012 at 7:03 AM, Dave Rutlidge wrote: > I've been trying to write a broker using ZMQ and found that it would > occasionally lock my PC totally, requiring a power-off as the usual > Ctrl-Alt-Del etc, and even a shutdown request by pressing the power button > did nothing. Try using

Re: [zeromq-dev] ZMQ_MCAST_LOOP with PGM

2012-08-06 Thread Steven McCoy
On 6 August 2012 08:19, Pierre Ynard wrote: > > > > It's been removed because of discussions like this > > This is now a discussion about the underlying issues of the PGM > transport, not limited to ZMQ_MCAST_LOOP. Removing the option that made > the issue most visible so that people don't compl

Re: [zeromq-dev] PGM: multiple listener behavior? interface network syntax? was Re: ZMQ_MCAST_LOOP with PGM

2012-08-06 Thread Steven McCoy
On 6 August 2012 17:34, Stuart Levy wrote: > Hmm. So can we tell what is the consequence of that, at ZMQ level, if > NAKs get lost? > PGM continues until the protocol breaks then the window will be flushed until it can recover. A constant high data rate will likely not permit the receiver to r

Re: [zeromq-dev] Why are there two repos?

2012-08-06 Thread Pieter Hintjens
On Tue, Aug 7, 2012 at 2:40 AM, AJ Lewis wrote: > So the ABI hasn't changed from zeromq 3.0 to 3.2, is that correct? The ABI version isn't the same as the product version. It was moved to 3.0.0 in 0MQ/3.1.0. > Typically you'd want to at least rev the last number for every > release so you could

Re: [zeromq-dev] ZMQ Freezing Windows

2012-08-06 Thread Chuck Remes
On Aug 6, 2012, at 5:03 PM, Dave Rutlidge wrote: > I've been trying to write a broker using ZMQ and found that it would > occasionally lock my PC totally, requiring a power-off as the usual > Ctrl-Alt-Del etc, and even a shutdown request by pressing the power button > did nothing. > > I tried

[zeromq-dev] ZMQ Freezing Windows

2012-08-06 Thread Dave Rutlidge
I've been trying to write a broker using ZMQ and found that it would occasionally lock my PC totally, requiring a power-off as the usual Ctrl-Alt-Del etc, and even a shutdown request by pressing the power button did nothing. I tried simpler and simpler examples and still have the same things happe

[zeromq-dev] PGM: multiple listener behavior? interface network syntax? was Re: ZMQ_MCAST_LOOP with PGM

2012-08-06 Thread Stuart Levy
On 8/2/12 6:20 AM, Pierre Ynard wrote: >> The OS only forwards packets to the first open socket. >> Check the RFC's on PGM and PGMCC for details of the protocols in >> question, >> >> http://www.ietf.org/rfc/rfc3208.txt >> http://www.ietf.org/proceedings/57/I-D/draft-ietf-rmt-bb-pgmcc-02.txt > To

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

2012-08-06 Thread Dave Rutlidge
I am using the NuGet packages you suggest but the CZMQ stuff doesn’t seem to be there. For example, the code at http://zguide.zeromq.org/cs:lruqueue2 won't compile as the ZMessage stuff isn't there. Regards Dave On Sat, Jul 28, 2012 at 7:57 AM, OJ Reeves wrote: > Dave, > > Do you absolut

Re: [zeromq-dev] Announcing release 1.2.0 of CZMQ

2012-08-06 Thread Felipe Cruz
Great Pieter! Congrats to All! Felipe 2012/8/6 Brian Knox > Well this is a nice thing to come back from vacation to! > > Brian > > > On Mon, Aug 6, 2012 at 5:38 AM, Ian Barber wrote: > >> On Mon, Aug 6, 2012 at 7:25 AM, Pieter Hintjens wrote: >> > Hi all, >> > >> > I've cut a version 1.2.0 r

Re: [zeromq-dev] question about integrating zmq socket fd in external select() loop

2012-08-06 Thread Justin Karneges
Stuff I ran into when implementing: 1) Be aware that ZMQ_FD only generates read events. You then check ZMQ_EVENTS to see what actually happened. 2) You need to check ZMQ_EVENTS in three situations: after ZMQ_FD read event, after calling zmq_send, and after calling zmq_recv. It was only recently

Re: [zeromq-dev] question about integrating zmq socket fd in external select() loop

2012-08-06 Thread Chuck Remes
Answers are inline. On Aug 6, 2012, at 11:18 AM, diffuser78 wrote: > Can someone plz share their experiences around this problem ? > > On Fri, Aug 3, 2012 at 3:38 PM, diffuser78 wrote: > Hi, > > I am writing a lib that uses zmq. This lib is going to be used in an app that > already has an ex

Re: [zeromq-dev] Why are there two repos?

2012-08-06 Thread AJ Lewis
On Sun, Aug 05, 2012 at 08:21:12PM +0900, Pieter Hintjens wrote: > On Sun, Aug 5, 2012 at 2:30 PM, Allan Wind > wrote: > > > ./lib/libzmq.so.3.0.0 > > ./lib/libzmq.so.3 > > I guess this is the ABI version. Not sure why there are two files but > this is how it seems to work. :) So the ABI hasn'

Re: [zeromq-dev] question about integrating zmq socket fd in external select() loop

2012-08-06 Thread diffuser78
Can someone plz share their experiences around this problem ? On Fri, Aug 3, 2012 at 3:38 PM, diffuser78 wrote: > Hi, > > I am writing a lib that uses zmq. This lib is going to be used in an app > that already has an external select() loop. Can I use fd's retrieved from > ZMQ_FD from zmq_getsock

Re: [zeromq-dev] Interrupted System Call: advice to handle it

2012-08-06 Thread Andrew Hume
in any case, don't forget the EAGAIN case (which seems to be rather more common in MacOS environments). On Aug 6, 2012, at 8:55 AM, Bjorn Reese wrote: > On 2012-08-06 13:58, Raphael Bauduin wrote: > >> I thought to replace this call (see code at >> https://github.com/zeromq/rbzmq/blob/master/rbz

Re: [zeromq-dev] Interrupted System Call: advice to handle it

2012-08-06 Thread Bjorn Reese
On 2012-08-06 13:58, Raphael Bauduin wrote: > I thought to replace this call (see code at > https://github.com/zeromq/rbzmq/blob/master/rbzmq.c#L1573 ) > > rc = zmq_send (s,&msg, flags); > > by this: > > int do_loop=1; > while ( do_loop>0) { > rc = zmq_send (s,&msg, fla

Re: [zeromq-dev] zmsg_send() and send errors

2012-08-06 Thread AJ Lewis
On Sun, Aug 05, 2012 at 01:22:31PM +0900, Pieter Hintjens wrote: > On Fri, Aug 3, 2012 at 10:59 PM, Andrew Hume wrote: > > > the issue is an old one: if i do a send, did it get there? there > > is only one way to answer that correctly, which is an end-to-end > > scheme. anything else is half-as

Re: [zeromq-dev] time for a 3.2 final?

2012-08-06 Thread Pieter Hintjens
On Mon, Aug 6, 2012 at 9:25 PM, Pierre Ynard wrote: > In fact the fix was already pushed in master: > https://github.com/zeromq/libzmq/commit/271ced98cf55447260d8c13086126b74ef1df215 OK, I'm backporting that to 3.2. Thanks for pointing it out. Am trying now to not close issues until they've bee

Re: [zeromq-dev] Announcing release 1.2.0 of CZMQ

2012-08-06 Thread Brian Knox
Well this is a nice thing to come back from vacation to! Brian On Mon, Aug 6, 2012 at 5:38 AM, Ian Barber wrote: > On Mon, Aug 6, 2012 at 7:25 AM, Pieter Hintjens wrote: > > Hi all, > > > > I've cut a version 1.2.0 release for CZMQ. > > > > 1.2! Congrats Pieter :) > > Ian > ___

Re: [zeromq-dev] time for a 3.2 final?

2012-08-06 Thread Pierre Ynard
> > LIBZMQ-375 doesn't seem fixed in 3.2 > > It's marked in the bug tracker as "trivial." If you have a fix for it, > please send a pull request. > > https://zeromq.jira.com/browse/LIBZMQ-375 In fact the fix was already pushed in master: https://github.com/zeromq/libzmq/commit/271ced98cf5544726

Re: [zeromq-dev] ZMQ_MCAST_LOOP with PGM

2012-08-06 Thread Pierre Ynard
> It's been removed because of discussions like this This is now a discussion about the underlying issues of the PGM transport, not limited to ZMQ_MCAST_LOOP. Removing the option that made the issue most visible so that people don't complain about it is just sweeping under the rug. > 0MQ makes

Re: [zeromq-dev] Interrupted System Call: advice to handle it

2012-08-06 Thread Raphael Bauduin
On Mon, Jul 9, 2012 at 11:40 AM, Raphael Bauduin wrote: > On Wed, Jul 4, 2012 at 5:20 PM, Chuck Remes wrote: >> >> On Jul 4, 2012, at 5:05 AM, Raphael Bauduin wrote: >> >>> Hi, >>> >>> I'm using the ruby zmq bindings in a web application. I regularly get >>> error message "ZMQ::Error: Interrupted

Re: [zeromq-dev] time for a 3.2 final?

2012-08-06 Thread Chuck Remes
On Aug 6, 2012, at 5:01 AM, Pierre Ynard wrote: >> Judging by the "critical issues" on the wiki site, most of them are >> associated with 2.2. None of the listed tickets are for 3.2. >> >> Is it time to push 3.2rc1 to 3.2 final? > > LIBZMQ-375 doesn't seem fixed in 3.2 It's marked in the bug tr

Re: [zeromq-dev] time for a 3.2 final?

2012-08-06 Thread Pierre Ynard
> Judging by the "critical issues" on the wiki site, most of them are > associated with 2.2. None of the listed tickets are for 3.2. > > Is it time to push 3.2rc1 to 3.2 final? LIBZMQ-375 doesn't seem fixed in 3.2 -- Pierre Ynard "Une âme dans un corps, c'est comme un dessin sur une feuille de

Re: [zeromq-dev] Announcing release 1.2.0 of CZMQ

2012-08-06 Thread Ian Barber
On Mon, Aug 6, 2012 at 7:25 AM, Pieter Hintjens wrote: > Hi all, > > I've cut a version 1.2.0 release for CZMQ. > 1.2! Congrats Pieter :) Ian ___ zeromq-dev mailing list zeromq-dev@lists.zeromq.org http://lists.zeromq.org/mailman/listinfo/zeromq-dev