Re: [zeromq-dev] zmq_poll return value and C-CTRL interrupts

2013-02-15 Thread mycircuit
Hi Statis Thank you for your comment. I didn't consider CTRL-C as a failure , but after reading the api doc again, I understand that it is treated as such . mycircuit On 15 February 2013 14:47, Stathis Gkotsis wrote: > Hi, > > ** ** > > “Upon failure, zmq_poll() sha

[zeromq-dev] zmq_poll return value and C-CTRL interrupts

2013-02-15 Thread mycircuit
ished poll with -1 each time I press CTRL-C. I am not sending anything to this socket during this test. Thanks for your thoughts. mycircuit #include "czmq.h" static int s_interrupted = 0; static void s_signal_handler (int signal_valu