Re: [zeromq-dev] PUB/SUB cached queue list

2013-09-27 Thread Artem Vysochyn
I was wrong about detecting sent/no-sent messages on PUB socket using poller and POLLOUT events. I have muddle up this with PUSH, because for PUSH this approach works. Sorry for confusion 2013/9/26 Pieter Hintjens : > On Thu, Sep 26, 2013 at 8:08 PM, Artem Vysochyn > wrote: > >> Quick ques

Re: [zeromq-dev] ROUTER socket and zmq_socket_monitor

2013-09-27 Thread gonzalo diethelm
I have been looking into the monitor mechanism and I think there are several shortcomings, that I would like to address. I would like some opinions on these points before diving into the code. 1. We really need two separate "disconnected" events: one "local_close" for when the local sock

Re: [zeromq-dev] czmq compile on OSX failing?

2013-09-27 Thread Pieter Hintjens
Thanks for finding this. I've merged your patch. On Fri, Sep 27, 2013 at 4:39 PM, Timothee Besset wrote: > This is failing because it's an out of tree compile. In addons/Makefile.am: > makecert_LDADD = $(top_srcdir)/src/libczmq.la > > Sending a pull request soon > > > On Thu, Sep 26, 2013 at 11:3

Re: [zeromq-dev] czmq compile on OSX failing?

2013-09-27 Thread Timothee Besset
This is failing because it's an out of tree compile. In addons/Makefile.am: makecert_LDADD = $(top_srcdir)/src/libczmq.la Sending a pull request soon On Thu, Sep 26, 2013 at 11:38 AM, Timothee Besset wrote: > Hello, > > I am getting the following error trying to compile latest czmq on OSX: > >

Re: [zeromq-dev] Exceptions Stressing ZMQ (JeroMQ)

2013-09-27 Thread Gonzalo Vasquez
Thanks Michel, Deleting the disconnect line actually solved both issue! Gonzalo Vásquez Sáez Gerente Investigación y Desarrollo (R&D) Altiuz Soluciones Tecnológicas de Negocios Ltda. Av. Nueva Tajamar 555 Of. 802, Las Condes - CP 7550099 +56 2 335 2461 gvasq...@altiuz.cl http://www.altiuz.cl http:

Re: [zeromq-dev] How to send/receive a custom C++ object via zeromq?

2013-09-27 Thread Bjorn Reese
On 09/27/2013 12:49 PM, Riskybiz wrote: > When this is received at the client end it is a jumbled mess of random > characters. Where do you observe the garbage first? In reply, repStr, buffer or obj1? ___ zeromq-dev mailing list zeromq-dev@lists.zeromq.

[zeromq-dev] How to send/receive a custom C++ object via zeromq?

2013-09-27 Thread Riskybiz
Trying to get to grips with how to serialize an object and send/receive it via zeromq I've modified the Hello World example from the zeromq documentation to try and achieve this. Code is below. Whilst the server appears to be outputting a sensible: Sent Reply: 22 serialization::archive 10

Re: [zeromq-dev] Question on ZMQ_POLLERR -- what exact error(s) this flag should represent?

2013-09-27 Thread Artem Vysochyn
Thank you Matt. 2013/9/27 Matt Connolly : > No, ZMQ sockets never generate ZMQ_POLLERR. > > On 27/09/2013, at 8:06 AM, Artem Vysochyn wrote: > >> hi Matt, >> >> Thanks for reply. But if I use only ZMQ socket everywhere in >> application, then should poller-s catch ZMQ_POLLERR along with >> ZMQ_P