Re: [zeromq-dev] Creating a pyzmq organization on github

2010-07-22 Thread Martin Sustrik
Hi Serge, Could you do a similar thing for erlzmq? saleyn/erlzmq - zeromq/erlzmq How do you and Dhammika cooperate? Does each have a different codebase for erlzmq or is it saleyn/erlzmq the joined effort? Martin ___ zeromq-dev mailing list

Re: [zeromq-dev] Async::Worker, C++ task offloading.

2010-07-22 Thread Martin Sustrik
Oliver Smith wrote: Download: http://www.kfs.org/async/worker/ Documentation: http://www.kfs.org/async/worker/manual/ We should somehow store pointers to 0MQ-related projects like this one on zeromq.org website, otherwise they'll be hard to find and hard to use. Anyone any idea of how it

Re: [zeromq-dev] AI_NUMERICSERV reason

2010-07-22 Thread Martin Sustrik
hamster wrote: Hello! Could someone elaborate on using AI_NUMERICSERV option for getaddrinfo() in ip.cpp? There is a comment saying Avoid named services due to unclear socktype but it does not clear things... Blame on the particular line points to Martin Lucina. He may be able to

Re: [zeromq-dev] Queueing outgoing messages

2010-07-22 Thread Martin Sustrik
Ilja, I am sorry - client blocks on recv. Hello! Playing with A simple client/server application from Cookbook I've found out client blocks if no server run. Knowing from zmq_setsockopt(3), The default 'ZMQ_HWM' value of zero means no limit, I'd expect different behavior.

Re: [zeromq-dev] Async::Worker, C++ task offloading.

2010-07-22 Thread Pieter Hintjens
On Thu, Jul 22, 2010 at 11:10 AM, Martin Sustrik sust...@250bpm.com wrote: We should somehow store pointers to 0MQ-related projects like this one on zeromq.org website, otherwise they'll be hard to find and hard to use. Anyone any idea of how it should be done? I've created a page

Re: [zeromq-dev] Async::Worker, C++ task offloading.

2010-07-22 Thread Oliver Smith
On 7/22/2010 4:10 AM, Martin Sustrik wrote: It combines concepts from OpenMP and Intel's TBB. I am not the expert on either of the two, but the idea of making 0MQ infrastructure look more friendly to OpenMP/TBB developers looks like an interesting idea. If you are interested in discussing

[zeromq-dev] DOWNSTREAM persistence

2010-07-22 Thread ilejncs
Hello! I need a one-way communication between one producer and several consumers. I wrote a trivial client application == zmq::socket_t s (ctx, ZMQ_DOWNSTREAM); int64_t number_of_messages = 2; s.setsockopt(ZMQ_HWM, number_of_messages, sizeof(int64_t)); // Connect

Re: [zeromq-dev] DOWNSTREAM persistence

2010-07-22 Thread Oliver Smith
On 7/22/2010 11:39 AM, ilejncs wrote: And other question. I am not happy socket blocks if queue is full. I need something like EAGAIN/exception/whatever indication in this case. Is it achievable (e.g. for another socket type)? zmq_setsockopt(socket, ZMQ_NONBLOCK) ? (or possibly NOBLOCK)

Re: [zeromq-dev] DOWNSTREAM persistence

2010-07-22 Thread Oliver Smith
On 7/22/2010 1:06 PM, Oliver Smith wrote: On 7/22/2010 11:39 AM, ilejncs wrote: And other question. I am not happy socket blocks if queue is full. I need something like EAGAIN/exception/whatever indication in this case. Is it achievable (e.g. for another socket type)?

Re: [zeromq-dev] Assertion failed: msg_-flags ZMQ_MSG_MORE (req.cpp:225)

2010-07-22 Thread Matt Weinstein
Folks, Sorry to trouble you -- I believe I found it. I had forgotten to send the identity+null sequence down an XREP pipe to the requester. Sorry! Best, Matt On Jul 21, 2010, at 7:19 AM, Matt Weinstein wrote: This one would be very hard -- it's an .so hanging off a custom web server.

Re: [zeromq-dev] Creating a pyzmq organization on github

2010-07-22 Thread Dhammika Pathirana
On 7/22/10, Serge Aleynikov se...@aleynikov.org wrote: My work was based on foking Dhammika's initial implementation. I made many enhancements, added documentation, autotools-based config, cross-compilation for MacOS, but the two repos were not merged, so my repository can be thought of a