Hi
I am successful in cross compiling nodejs 12.16.1 for armv7 through yocto
bitbake.
Now I need to enable the support of zeromq.js 6.0.0. beta for nodejs
12.16.1 again through Yocto recipe.
Please advise me the options to do this.
On cross checking zeromq.js, 6.0.0 beta-6 pre-builts (armv7l),
רx
___
zeromq-dev mailing list
zeromq-dev@lists.zeromq.org
https://lists.zeromq.org/mailman/listinfo/zeromq-dev
Hi ,
I have a design question.
My requirement is below for an Air to Ground communication protocol.
radio 1
Air
|---| Ground
_|---
How can I stop receiving your mail?
good luck!
发送自 Windows 10 版邮件应用
___
zeromq-dev mailing list
zeromq-dev@lists.zeromq.org
https://lists.zeromq.org/mailman/listinfo/zeromq-dev
http://refer.lakegriffin.ch
Derek Developer
___
zeromq-dev mailing list
zeromq-dev@lists.zeromq.org
https://lists.zeromq.org/mailman/listinfo/zeromq-dev
Sent from my BlackBerry 10 smartphone.
___
zeromq-dev mailing list
zeromq-dev@lists.zeromq.org
https://lists.zeromq.org/mailman/listinfo/zeromq-dev
Hi Pieter,
1. Why is it not working as it is? Does it have to do with the message
format?
2. I need to do some data processing before I pass it to the second SUB,
hence zmq_proxy will not work for me.
Is there another way?
Thank you for getting back!
-Vince
On Sat, Apr 9, 2016 at 6:34 AM,
Yes, you can use zmq_proxy for this.
On Sat, Apr 9, 2016 at 4:25 AM, vincegata wrote:
> Hello,
>
> Is it possible to "chain" PUB/SUB processes?
>
> By chaining, I mean:
>
> PUB --> SUB | PUB --> SUB
>
>
>
> ___
> zeromq-dev mailing list
> zeromq-dev@lis
Hello,
Is it possible to "chain" PUB/SUB processes?
By chaining, I mean:
PUB --> SUB | PUB --> SUB
___
zeromq-dev mailing list
zeromq-dev@lists.zeromq.org
http://lists.zeromq.org/mailman/listinfo/zeromq-dev
ender by reply e-mail.
From: zeromq-dev-boun...@lists.zeromq.org
[mailto:zeromq-dev-boun...@lists.zeromq.org] On Behalf Of josh knox
Sent: 10 December 2015 23:42
To: ZeroMQ development list
Subject: Re: [zeromq-dev] (no subject)
OK, its a threading issue in my code.
My publication socket is us
OK, its a threading issue in my code.
My publication socket is used in a callback triggered from a separate
library thread. I create the socket in a separate thread. :(
Would it be correct to create my pub socket as a static instance in my
callback function so that it is created in the same threa
Hello,
are you using cppzmq[1]?
I remember getting the >check() (src/msg.cpp:248) error
when I tried to reuse the same socket from different threads
(a classic error). From your explanation, it doesn't seem the case though.
Do you create `txDataPub` in a thread and using it in another one?
I mean,
Hi Peter,
Good observation on the memcpy size. That is certainly correct.
I'll test it with this change over the weekend and have a go at it with gdb.
Thanks,
Josh
On Fri, Dec 4, 2015 at 2:22 PM, Peter Krey wrote:
> Hi,
>
>
> try replacing
> memcpy(message.data(), &status, message.size());
>
Hi,
try replacing
memcpy(message.data(), &status, message.size());
with
memcpy(message.data(), &status, sizeof(myData));
this is just a guess and im not sure if this will work.
your best bet to pin down the error is run GDB on your application so you
can see what line the code is crashing on.
Hi Pieter,
I'll double check my usage of the messages. I could certainly be mucking
something up.
My usage is simply:
1. create zmq message.
2. copy data into message data.
3. publish
This works great for the several different types I send out, until it
crashes. :(
Thanks,
Josh
On Fri, Dec
Hi Jens,
I am running ZMQ 4.1.2, built from source on Ubuntu 14.04.
The context and the pub socket are created on the heap. These are pointer
members in my class. They get created like this:
>>
>> // create zmq socket
>>
>> zmqContext = new zmq::context_t(2);
>>
>> // connect the status publicat
Something wrong in how you're using the messages IMO, though I'm not
familiar enough with the C++ binding to tell you the correct usage.
On Fri, Dec 4, 2015 at 5:12 PM, josh knox wrote:
>
> Hi,
>
>
> I've been running into a segfault since adding a zmq publication socket to
> my application.
>
>
Hi,
I've been running into a segfault since adding a zmq publication socket
to my application.
It usually runs fine, happily publishing various data at a few Hz.
Nothing high stress.
There are 2 varieties of segfaults that occur.
One of the following messages is printed to stderr when the c
Hi,
I have two questions related to the titanic service protocol implementation.
In the main function in titanic.c in the loop when it tries to push out the pending requests it calls the function 's_service_success'.
Then in the s_service_success it establishes a new (!) connection to the brok
Zoosh
___
zeromq-dev mailing list
zeromq-dev@lists.zeromq.org
http://lists.zeromq.org/mailman/listinfo/zeromq-dev
—
马全一
Meaglith Ma
(86)18618362811 (86)18911963081
苏州跨界软件科技有限公司
Crenovator Lab Corp.___
zeromq-dev mailing list
zeromq-dev@lists.zeromq.org
http://lists.zeromq.org/mailman/listinfo/zeromq-dev
panen [mikko.koppa...@gmail.com]
Sent: Monday, May 20, 2013 9:59 PM
To: ZeroMQ development list
Subject: Re: [zeromq-dev] (no subject)
Hello,
the instructions for building on Windows are available here:
https://wiki.php.net/internals/windows/stepbystepbuild. They apply to pretty
much all PECL exten
Hello,
the instructions for building on Windows are available here:
https://wiki.php.net/internals/windows/stepbystepbuild. They apply to
pretty much all PECL extensions that have config.m4. Tiny bit older
binaries are available here: http://valokuva.org/~mikko/php-zmq-20130203.tgz
Thanks,
Mikko
Hi,
I agree, this should be fixed somehow.
Maybe the PEAR page here:
http://pear.zero.mq/
or the PHP 0MQ repository https://github.com/mkoppanen/php-zmq
can help you, the
Mikko Koppanen also has a 0MQ snapshots repository:
https://github.com/mkoppanen/zeromq-snapshots
The last activity is 2 years
list
Subject: Re: [zeromq-dev] (no subject)
Hi,
The snapshot server seems to be down, see this mailing list thread:
http://lists.zeromq.org/pipermail/zeromq-dev/2012-August/018414.html
I've never used 0MQ with PHP, but I suppose your best option is to try to
compile it yourself!
Be
Hi,
The snapshot server seems to be down, see this mailing list thread:
http://lists.zeromq.org/pipermail/zeromq-dev/2012-August/018414.html
I've never used 0MQ with PHP, but I suppose your best option is to try to
compile it yourself!
Best regards
___
Hi,
I am trying to use ZMQ with PHP.
The instructions at http://www.zeromq.org/bindings:php state
Download the latest snapshot from http://snapshot.zero.mq/
Copy libzmq.dll into your php directory (e.g. C:\wamp\bin\php\php5.3.8\)
Copy the appropriate version of php_zmq.dll to
I added:
/usr/lib64/
to /etc/ld.so.conf and then ran ldconfig
now I can do a configure and a make.
Thanks,
James
On Thu, Jan 17, 2013 at 11:05 PM, James Marcus wrote:
> Hi,
> Sorry about the lack of a subject.
>
> I wanted to add this part of the configure
>
> checking for pkg-config... /usr/bi
Hi,
Sorry about the lack of a subject.
I wanted to add this part of the configure
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for ZeroMQ... yes
checking zmq.h usability... no
checking zmq.h presence... no
checking for zmq.h... no
co
Hi,
I'm running on CentOS 6.3 with Java 1.7.
checking for zmq.h... no
configure: error: cannot find zmq.h
[root@localhost jzmq-master]# find / -name zmq.h
/usr/include/zmq.h
[root@localhost jzmq-master]# cat /etc/ld.so.c
I have tried:
./configure --with-zeromq=/usr/lib64/
./configure --with-ze
If the server doesn't get a reply within some timeout, it'll have to
resend the task to a different worker.
-Pieter
On Mon, Dec 3, 2012 at 3:07 PM, Alterman, Eugene
wrote:
> What happens if the worker whose identity was picked from the queue becomes
> unavailable?
> This could happen even if the
What happens if the worker whose identity was picked from the queue becomes
unavailable?
This could happen even if the server relies on heartbeats from workers to purge
the queue.
The ROUTER-based load-balancing pattern will send messages only to
workers that are
signed int,
> std::allocator const&)'
> /home/xxx/libjzmq.so: undefined reference to
> `std::__throw_out_of_range(char const*)'
> /home/xxx/libjzmq.so: undefined reference to `operator new(unsigned int,
> std::nothrow_t const&)'
> /home/xxx/libjzmq.so: undef
jzmq.
Don't understand!
Best regards.
--- En date de : Mer 18.7.12,
Eric a écrit :
De: Eric
Objet: Re: [zeromq-dev] (no subject)
À: "ZeroMQ development list" , vic...@iso3103.net
Date: Mercredi 18 juillet 2012, 1h31
Thanks,
I replaced assign by clear/append. But it still not wo
bjzmq.so: undefined reference to
`std::__throw_out_of_range(char const*)'/home/xxx/libjzmq.so: undefined
reference to `operator new(unsigned int, std::nothrow_t
const&)'/home/xxx/libjzmq.so: undefined reference to
`std::string::_Rep::_M_destroy(std::allocator
const&)'/home
perhaps this is an option: http://www.crystax.net/en/android/ndk/7
On Jul 17, 2012 3:48 PM, "Victor Perron" wrote:
> Same answer as before. I paste it down there.
>
> *Hi,
>
> In that case it seems that you discovered something serious.
> I took a look at it, and indeed the assign() symbol from s
Same answer as before. I paste it down there.
*Hi,
In that case it seems that you discovered something serious.
I took a look at it, and indeed the assign() symbol from std::string class
seems undefined.
That would mean, Android does _not_ define such a function in its SDK.
Now, the proper way t
Trying to use jzmq under android.I generated using zmq3.x procedure, having to
change config.sub and config.guess files but generation is OK and match the
scheme on http://www.zeromq.org/build:android.
But I always get unsatisfiedlink error when loading library libjzmq
(loadlibrary(jzmq)), where
Hi Kris,
Can you make a minimal test case?
Thanks
Pieter
On Thu, May 3, 2012 at 9:46 AM, Kris Wang wrote:
> Hi,
>
> I use push-pull,
> set ZMQ_LINGER to 0,
> zmq_close(mySocket), then
> pending messages do not be discarded immediately, but until the pending
> messages reach ZMQ_HWM and then blo
Hi,
I use push-pull,
set ZMQ_LINGER to 0,
zmq_close(mySocket), then
pending messages do not be discarded immediately, but until the pending
messages reach ZMQ_HWM and then block.
So the ZMQ_LINGER seems not work.
Thank you very much.
___
zeromq-dev ma
Oh, got it... I used the ``flag'' int parameter as it expected
the byte array size. Obviously not.
Thanks everyone.
___
zeromq-dev mailing list
zeromq-dev@lists.zeromq.org
http://lists.zeromq.org/mailman/listi
Thanks for the advice, but it did not change much.
Even with tcp instead of epgm in C it continues working
fine and in Java it does not. But I noticed that using the
Java subscriber and C publisher do work fine.
This is true both for tcp and epgm.
It seems the Java publisher sends nothing for s
On May 2, 2012, at 7:28 AM, Paolo Bolzoni wrote:
> [snip]
> Unfortunately they do not work. It seems the subscriber
> cannot read any message. To me the classes seems a
> translation in Java of the C files, so I have no idea of
> the problem.
>
> I tried listening the wire using wireshare and in
Dear zeromq list,
I need to send a possibly large message to a set of
recipients. I do not need to worry about disappearing
nodes, but recipients and sender can appear in any order.
I started writing initially in C using the syncpub and
syncsub as base. The first prototype seems work fine.
syncp
On Tue, Oct 11, 2011 at 3:00 PM, Martin Sustrik wrote:
> I guess it's the same problem as build.zero.mq being currently down.
> Mikko Koppanen who owns the boxes is aware of the problem and will
> hopefully be able to solve it soon.
>
Hi,
from what I can see it looks pretty severe hardware failu
On 10/11/2011 02:19 PM, lanre lawal wrote:
> The pear channel for ZMQ "http://pear.zero.mq/"; seems to be currently
> down. The command "pear channel-discover pear.zero.mq" fails everytime i
> run it. I also tried to browse the pear.zero.mq and its not coming up.
> Can anyone please fix this. Than
The pear channel for ZMQ "http://pear.zero.mq/"; seems to be currently down. The
command "pear channel-discover pear.zero.mq" fails everytime i run it. I also
tried to browse the pear.zero.mq and its not coming up.
Can anyone please fix this. Thanks you
Regards,
Olanrewaju Lawal
Web Developer /
At first glance, having entirely separate classes for message_t and
const_message_t seems to be not a good idea. This model fits for
iterators, which are used in generic algorithms and may be of
arbitrary type. In user code, iterators are mainly used in loops (in a
single function) and not passed t
Ilja,
Thanks for the patch... I'd like to get some review from others on the
list before we apply this to the stable release.
-Pieter
2011/4/25 Ilja Golshtein :
> Patch with (2), (4) and (5) against 0mq 2.1
> 43307455e352769189d427f260c4b48a3a19f7ce
> is attached.
>
> 22.04.2011, 23:29, "Ilja
Patch with (2), (4) and (5) against 0mq 2.1
43307455e352769189d427f260c4b48a3a19f7ce
is attached.
22.04.2011, 23:29, "Ilja Golshtein" :
> Martin, All,
>
> you are right, there is no 100% similarity with std::string.
>
> Trying to look at the message_t from the same angle we should conclude:
> 1
Martin, All,
you are right, there is no 100% similarity with std::string.
Trying to look at the message_t from the same angle we should conclude:
1. close() in not const regardless BLOB - it destroys message object. And there
is no such a method by the way. Did you ever see const destructor?
2.
On Apr 22, 2011, at 2:05 AM, Pieter Hintjens wrote:
> On Fri, Apr 22, 2011 at 7:27 AM, Martin Sustrik wrote:
>
>> Ok. Another problem: Copy of a const message should be a const message.
>> Imagine this prototype:
>>
>> int zmq_msg_const_copy (const zmq_msg_t *dest, const zmq_msg_t *src);
>>
>
On Fri, Apr 22, 2011 at 7:27 AM, Martin Sustrik wrote:
> Ok. Another problem: Copy of a const message should be a const message.
> Imagine this prototype:
>
> int zmq_msg_const_copy (const zmq_msg_t *dest, const zmq_msg_t *src);
>
> The message passed as 'dest' is closed (non-const operation), th
On 04/21/2011 11:22 PM, Matt Weinstein wrote:
> IMHO in this context, "logically const" seems to allow for this asymmetry:
>
> copy is "logically const" (the details are irrelevant, you are not
> disturbing the underlying data)
> close is not "logically const" (you are disposing of a
On Apr 21, 2011, at 4:49 PM, Martin Sustrik wrote:
> Ilja, Andrew,
>
> std::string is able to make the reference counting trasparent to the
> user using CoW semantics. Unfortunately, with zmq_msg_t we don't have
> this option.
>
> The place where the abstraction leaks most is zmq_msg_close()
Ilja, Andrew,
std::string is able to make the reference counting trasparent to the
user using CoW semantics. Unfortunately, with zmq_msg_t we don't have
this option.
The place where the abstraction leaks most is zmq_msg_close() function.
It removes one reference from the BLOB (const operation)
I suppose that const zmq_msg_t should mean both constant descriptor
(flags, VSM memory) and, as a consequence, constant BLOB (the memory
zmq_msg_t::content points to).
It would be good, if C API functions that do not modify neither
zmq_msg_t structure nor BLOB would take const zmq_msg_t * instead
Hi Ilja,
> .. on the second thought it is not as straightforward and C API methods must
> be called with const_cast,
> though I still think it is worth doing.
Before changing the const signatures I would say we should make it clear
what constant zmq_msg_t means.
Keep in mind that zmq_msg_t is
.. on the second thought it is not as straightforward and C API methods must be
called with const_cast,
though I still think it is worth doing.
20.04.2011, 15:57, "Ilja Golshtein" :
> Hello!
>
> I suggest adding "const" modifier for message_::copy and message_t::size
> like this
>
> ==
>
Hello!
I suggest adding "const" modifier for message_::copy and message_t::size
like this
==
inline void copy (message_t *msg_) const
{
int rc = zmq_msg_copy (this, (zmq_msg_t*) msg_);
if (rc != 0)
throw error_t ();
}
inlin
Paul,
> Well, that means that I must use XREQ/XREP instead of PUB/SUB.
> And does this mean, I should use PUB/SUB only where reliability is not needed?
PUB/SUB is inherently unreliable. The problem is that with fully
reliable PUB/SUB one slow consumer can effectively bring the whole
distributio
30.12.2010, 10:52, "Martin Sustrik" :
> On 12/30/2010 12:17 AM, Paul Colomiets wrote:
>
>> For reliability of REQ sockets I use a timeouts. Likewise PUB/SUB
>> I could send somehow "pause" command to publisher, and
>> read the data until got "paused" message. But it means all
>> subscribers w
On 12/30/2010 12:17 AM, Paul Colomiets wrote:
> For reliability of REQ sockets I use a timeouts. Likewise PUB/SUB
> I could send somehow "pause" command to publisher, and
> read the data until got "paused" message. But it means all
> subscribers will suffer. Is there any better ideas?
Even worse,
Hi,
I'm wondering if there are any way to improve reliability
of PUB/SUB sockets, in the case where I need to restart
subscriber. I know, I can add identity to a socket, and then
restart. But this discards data already in network buffers.
Something I need is to notify publisher that I want to sus
On 10.12.2010 15:32, Martin Sustrik wrote:
> Hi Adam,
>
>
>> I have few question about 0MQ server and it behavior.
>>
> There's no such thing as 0MQ server. 0MQ is a messaging library.
>
> Have a look here to get some basic understanding of how it works:
>
> http://zguide.zeromq.org/chapt
Hi Adam,
> I have few question about 0MQ server and it behavior.
There's no such thing as 0MQ server. 0MQ is a messaging library.
Have a look here to get some basic understanding of how it works:
http://zguide.zeromq.org/chapter:all
Martin
___
zeromq
Hi,
I have few question about 0MQ server and it behavior.
How can I configure server to work in failover or they discover themself
without configuration? If I can configure that please give me a link to
tutorial.
What will happend with clients connected to node which go down they will
recone
On Fri, Apr 9, 2010 at 12:24 PM, Martin Sustrik wrote:
> Laurens,
>
>
> So, is there a way to tell ZeroMQ to publish a message twice, or do I just
>> literally post the message twice? The latter sounds a little silly, because
>> you're essentially doubling traffic (and the new half is entirely
>
Laurens,
> So, is there a way to tell ZeroMQ to publish a message twice, or do I
> just literally post the message twice? The latter sounds a little silly,
> because you're essentially doubling traffic (and the new half is
> entirely redundant).
Doubling network traffic? How so? Even if there
Dear Martin,
Thanks for your answer.
So, is there a way to tell ZeroMQ to publish a message twice, or do I just
literally post the message twice? The latter sounds a little silly, because
you're essentially doubling traffic (and the new half is entirely
redundant).
tia
Laurens
_
Laurens,
> I've got a use case and I'm wondering how it translates to ZeroMQ.
>
> Data comes in through a server that reads a client's SSL certificate
> (not very relevant, unless ZeroMQ can do SSL, verify a certificate, and
> then route based on the client cert). All of that data gets persiste
On Thu, Apr 8, 2010 at 12:27 AM, Laurens Van Houtven wrote:
> Hello :-)
>
> I've got a use case and I'm wondering how it translates to ZeroMQ.
Have you looked at RestMS (www.restms.org)? It handles the HTTP
aspects of what you need and we could look at making a ZeroMQ profile
for it.
-Pieter
__
Whoops, I messed up that last email. My apologies.
--
Hello :-)
I've got a use case and I'm wondering how it translates to ZeroMQ.
Data comes in through a server that reads a client's SSL certificate (not
very relevant, unless ZeroMQ can do SSL, verify a certificate, and then
route based on th
Hello :-)
I've got a use case and I'm wondering how it translates to ZeroMQ.
Data comes in through a server that reads a client's SSL certificate (not
very relevant, unless ZeroMQ can do SSL, verify a certificate, and then
route based on the client cert). All of that data gets persisted, so ther
74 matches
Mail list logo