[zeromq-dev] czmq and cppzmq use deprecated functions.

2013-01-05 Thread crocket
In case of cppzmq, there is a pull request that deals with deprecated functions. https://github.com/zeromq/cppzmq/pull/12 But I couldn't find such a pull request for czmq. czmq still uses zmq_sendmsg instead of zmq_msg_send. This should be fixed sooner or later.

Re: [zeromq-dev] zmq thread mutex problem

2013-01-05 Thread crocket
Just an unrelated question here. What program did you draw zmq.png with? On Sat, Jan 5, 2013 at 4:39 PM, Lisen Guo guoli...@gmail.com wrote: Hello, I write a echo server like the picture(email accessory), but it often assert at mutex.hpp:90, this line is pthread_mutex_destory, I

Re: [zeromq-dev] zmq thread mutex problem

2013-01-05 Thread guolisen
Hi, crocket My program is a Tcp Echo Server, some of my client can not run zmq, so i use libev to recv tcp message and send it to zmq server, this process is in thread, and the max thread num is about 100, but about 1-2 hour later, the zmq code file mutex.hpp assert at 90 line. At

[zeromq-dev] make check fail

2013-01-05 Thread A. Mark
Hello, this was result of a make check on this system: Linux machine 2.6.18-308.16.1.el5 #1 SMP Tue Oct 2 22:01:43 EDT 2012 x86_64 x86_64 x86_64 GNU/Linux CentOS release 5.8 (Final) 0MQ v3.2.2 $ ./configure --prefix=/home/alian/Desktop/Temp/local checking for a BSD-compatible install...

[zeromq-dev] questions about 0MQ

2013-01-05 Thread Lushuifeng
According to the method you provide, HWM was increased, the system(zmq 3.2 version) appeared a new problem when testing. i.e, a node(Node_A) sends more than 2.5 million messages to another node(Node_B). In the initial stage of sending messages, all messages were blocked in Node_A for a long

[zeromq-dev] zmq thread mutex problem

2013-01-05 Thread guolisen
Hello, I write a echo server like the picture(email accessory), but it often assert at mutex.hpp:90, this line is pthread_mutex_destory, I don't know why, I think my thread is detach thread, so maybe thread data release before zmq pipe process 'close' command. and I add some delay

Re: [zeromq-dev] czmq and cppzmq use deprecated functions.

2013-01-05 Thread Pieter Hintjens
I've merged the PR on cppzmq (not sure who the maintainers of that project are at the moment). I'll make the patch for CZMQ, you're right that it shouldn't use the deprecated functions. -Pieter On Sat, Jan 5, 2013 at 9:55 AM, crocket crockabisc...@gmail.com wrote: In case of cppzmq, there is a

Re: [zeromq-dev] make check fail

2013-01-05 Thread Justin Cook
I refer you to this thread: http://lists.zeromq.org/pipermail/zeromq-dev/2012-November/019456.html -- Justin Cook On Friday, 4 January 2013 at 19:37, A. Mark wrote: Hello, this was result of a make check on this system: Linux machine 2.6.18-308.16.1.el5 #1 SMP Tue Oct 2 22:01:43 EDT

Re: [zeromq-dev] Perl bindings ZeroMQ block publishing messages to Mojolicous over WebSocket

2013-01-05 Thread Daisuke Maki
Please let me know if I am missing something or is there a different way to achieve this. This is wrong: zmq_setsockopt($socket,ZMQ_SUBSCRIBE,ZMQ_NOBLOCK); ** This needs to be two calls: zmq_setsocktop($socket, ZMQ_SUBSRCRIBE, $SUBSCRIBE_STRING);

Re: [zeromq-dev] czmq and cppzmq use deprecated functions.

2013-01-05 Thread Pieter Hintjens
I made the patch but pijyoi pointed out that CZMQ aims to run on 2.2 as well as 3.2, so we'll have to wait for a while before switching out these functions. On Sat, Jan 5, 2013 at 12:23 PM, Pieter Hintjens p...@imatix.com wrote: I've merged the PR on cppzmq (not sure who the maintainers of that

Re: [zeromq-dev] czmq and cppzmq use deprecated functions.

2013-01-05 Thread M.S. Babaei
Defining some macros should do the trick. On Jan 5, 2013 3:31 PM, Pieter Hintjens p...@imatix.com wrote: I made the patch but pijyoi pointed out that CZMQ aims to run on 2.2 as well as 3.2, so we'll have to wait for a while before switching out these functions. On Sat, Jan 5, 2013 at 12:23

Re: [zeromq-dev] czmq and cppzmq use deprecated functions.

2013-01-05 Thread Pieter Hintjens
Well, it's barely worth it; there is zero cost to using the old calls in CZMQ. Macros would add extra complexity for no benefit. -Pieter On Sat, Jan 5, 2013 at 1:04 PM, M.S. Babaei ace.of.zeros...@gmail.com wrote: Defining some macros should do the trick. On Jan 5, 2013 3:31 PM, Pieter

Re: [zeromq-dev] make check fail

2013-01-05 Thread A. Mark
Thanks I tried, and it failed 10 times out of 10. anyhow there is already a fix for this. On Sat, Jan 5, 2013 at 3:25 AM, Justin Cook jhc...@gmail.com wrote: I refer you to this thread: http://lists.zeromq.org/pipermail/zeromq-dev/2012-November/019456.html -- Justin Cook On Friday, 4

Re: [zeromq-dev] Help Regarding C# development

2013-01-05 Thread Tom Robinson
Hi Deepak, If you go with clrzmq V3.x as Jason Smith suggested then you can find updated C# code samples here: https://github.com/tjrobinson/zguide/tree/clrzmqv3/examples/C%23 It's still a work in progress, but the samples should now work with the changes made between clrzmq 2.x and 3.x

Re: [zeromq-dev] zmq thread mutex problem

2013-01-05 Thread guolisen
It's a ticket system, client is Access Control Device, and the ticket message is sent to my server, server will write it into Database, my server is a message center, it can process AC Device message and other UI message. :) At 2013-01-06 07:31:25,crocket crockabisc...@gmail.com wrote: