Hi,
I'm trying to make a simple PUB / SUB test.
First, I created the publisher, then the subscriber with a message to
subscribe.
Second, I send some messages from the publisher and I try to retreive them
from the subscriber.
The code compiles but the subscriber does not receive any data.
My co
rfield
> wrote:
>
>> The subscriber connect() call is asynchronous. It's possible the publish
>> messages are sent before the subscribe socket connects and establishes its
>> subscription.
>>
>> Try sleeping for 100ms or so after the connect call, before the loop.
nd bind and connect to 127.0.0.1
>
> On 22 September 2016 at 17:57, Aurélien wrote:
> > Thank you for your replies.
> >
> > I tried with that :
> >
> > zmq::socket_t subscriber(context, ZMQ_SUB);
> > subscriber.connect("tcp://localhost:5563"
Hi,
I had to increase the "sleep" to 5 seconds and it worked.
Strange !
On Fri, Sep 23, 2016 at 10:00 AM, Aurélien wrote:
> I tried with 127.0.0.1 on bind and connect functions, it didn't worked.
>
> I also tried on Linux (Ubuntu 16.04), same result.
>
> Ver
asynchronous, so there is absolutely
> no guarantee on when it actually happens, by design.
>
> In production, if you need synch, either use an out-of-band control
> channel (eg: req-rep) or switch to XPUB, which gives you notifications
> of subscribe/unsubscribe.
>
> On 23 Septem
ailing list
> zeromq-dev@lists.zeromq.org
> http://lists.zeromq.org/mailman/listinfo/zeromq-dev
>
> ___
> zeromq-dev mailing list
> zeromq-dev@lists.zeromq.org
> http://lists.zeromq.org/mailman/listinfo/zeromq-dev
>
>
>
> --
Any update on the when & where of the meet up?
--
Aurélien Vallée
+33 6 47 41 70 37
___
zeromq-dev mailing list
zeromq-dev@lists.zeromq.org
http://lists.zeromq.org/mailman/listinfo/zeromq-dev
r of USENIX and LOPSA
>
>
>
>
>
> ___
> zeromq-dev mailing list
> zeromq-dev@lists.zeromq.org
> http://lists.zeromq.org/mailman/listinfo/zeromq-dev
>
>
--
Aurélien Vallée
+33 6 47 41 70 37
___
zeromq-dev mailing list
zeromq-dev@lists.zeromq.org
http://lists.zeromq.org/mailman/listinfo/zeromq-dev
are seen when I
> do
> > a "easy_install pyzmq" to install the python bindings.
> >
> > Thanks,
> > Kushal Dalmia
> > Graduate Student
> > Carnegie Mellon University
> ___
> zeromq-dev mailing list
> zer
> > or not installed in the proper path.
> >
> > You compiled on the same system (another cause for the issue Aurélien
> > Vallée raised)?
> >
> > --
> > Wolf
> >
> > On Tue, Feb 21, 2012 at 2:14 PM, Wolfgang Richter
> > wrote:
> > &
ng
> ___
> zeromq-dev mailing list
> zeromq-dev@lists.zeromq.org
> http://lists.zeromq.org/mailman/listinfo/zeromq-dev
>
--
Aurélien Vallée
+33 6 47 41 70 37
___
zeromq-dev mailing list
zeromq-dev@lists.zeromq.org
http://lists.zeromq.org/mailman/listinfo/zeromq-dev
:
> Hi,
>
> I assume zmq is a non python library. I don't find with google how to
> install it. Would you please let me know how to install zmq first?
>
> 2012/4/11 Aurélien Vallée :
> > pyzmq needs to link against the zmq library, which should be provided to
> the
>
.7.1
2012/4/11 Aurélien Vallée
> Like most libraries, zmq uses autotools :-)
> Latest stable release is 2.2
>
> wget -q http://download.zeromq.org/zeromq-2.2.0.tar.gz
> tar xzf zeromq-2.2.0.tar.gz
> cd zeromq-2.2.0
> ./configure --prefix=/where/you/want/to/install/
> ma
Last sidenote:
Seems like you're on OSX, you can use the homebrew package manager to
install zmq for you http://mxcl.github.com/homebrew/
$ brew install zmq
Easy ;-)
2012/4/11 Aurélien Vallée
> As a side note, seems like Brandon Rhodes created a "pyzmq-static"
> packa
e times faster.
>
> What does ZeroMQ do to introduce 3 times more latency to the messages?
>
> Not criticizing, just trying to understand.
>
> -Julie
>
> ___
> zeromq-dev mailing list
> zeromq-dev@lists.zeromq.org
> http://l
e incompatibilities generate quite some
> trouble and make our life more complicated.
>
> Regards
>
> Emmanuel
>
> ___
> zeromq-dev mailing list
> zeromq-dev@lists.zeromq.org
> http://lists.zeromq.org/mailman/listinfo/zeromq-dev
>
--
Aurélien Vallée
+33 6
ists.zeromq.org/mailman/listinfo/zeromq-dev
>
--
Aurélien Vallée
+33 6 47 41 70 37
___
zeromq-dev mailing list
zeromq-dev@lists.zeromq.org
http://lists.zeromq.org/mailman/listinfo/zeromq-dev
17 matches
Mail list logo