[zeromq-dev] jeromq in andorid

2013-10-22 Thread ljs
Why JEROMQ ANDROID machines in use can not receive messages sent PUB end of it, my code is as follows: Ctx ctx = ZMQ.zmq_init(1); SocketBase sub = ZMQ.zmq_socket(ctx, ZMQ.ZMQ_SUB); sub.setsockopt(ZMQ.ZMQ_SUBSCRIBE, .getBytes()); sub.connect(tcp://192.168.119.100:18085); while (true) { Msg msg =

Re: [zeromq-dev] Question: ipc and multiple listeners

2013-10-22 Thread Erik Haller
Good idea. I will. On 10/15/2013 3:45 AM, Pieter Hintjens wrote: Hi Erik, It's a good question and not specified in the man page. Perhaps you'd like to add something to doc/zmq_ipc.txt to make it clearer? -Pieter On Tue, Oct 15, 2013 at 3:11 AM, Erik Haller erik.hal...@broadlux.com wrote:

[zeromq-dev] Proposal for ZeroMQ certificate storage

2013-10-22 Thread Laurent Alebarde
Hi everybody, In addition to the format, a discussion about the storage of the certificates may be usefull. I propose the following (I am very verbose so that I can understand myself in one week ;-) ): Requirements: 1. The certificates SHALL be able to be accessed in an efficient way

Re: [zeromq-dev] Proposal for ZeroMQ certificate storage

2013-10-22 Thread Pieter Hintjens
Did you have any comments on http://hintjens.com/blog:62? There's some overlap with your suggestions. On Tue, Oct 22, 2013 at 11:47 AM, Laurent Alebarde l.aleba...@free.fr wrote: Hi everybody, In addition to the format, a discussion about the storage of the certificates may be usefull. I

Re: [zeromq-dev] Proposal for ZeroMQ certificate storage

2013-10-22 Thread Laurent Alebarde
Hi Pieter, I have only one small comment inside Use Cases: Why storing the public key in plain text when it does not hurt to crypt it ? It is a question of philosophy. One of my design principle for everything is to not degrade performance, even when it looks not hurting, as far as it is

Re: [zeromq-dev] Proposal for ZeroMQ certificate storage

2013-10-22 Thread Pieter Hintjens
You're right. No reason to store the key in clear even if it's broadcast in clear. On Tue, Oct 22, 2013 at 6:02 PM, Laurent Alebarde l.aleba...@free.fr wrote: I was considering only storage here, not broadcast. But what I propose requires one additional operation to decrypt the key before

Re: [zeromq-dev] what do I do bad with zmq_threadstart ?

2013-10-22 Thread Pieter Hintjens
You have to cast the args to (void *) when calling zmq_threadstart, and cast the void * argument back to void ** in the child thread. On Tue, Oct 22, 2013 at 6:29 PM, Laurent Alebarde l.aleba...@free.fr wrote: Hi Devs, I am trying to use zmq_threadstart. My first test passing ctx as args

[zeromq-dev] JeroMQ/ZeroMQ transparent acceleration with Fast Sockets

2013-10-22 Thread Guillermo Lopez Taboada
Dear all, Torus Software Solutions (http://www.torusware.com) is a company that develops transparent replacements of TCP sockets. Currently two implementations are in our catalog: - Java Fast Sockets (JFS): a transparent replacement of JVM sockets, commercially available. - Universal Fast

Re: [zeromq-dev] what do I do bad with zmq_threadstart ?

2013-10-22 Thread Mikko Koppanen
On Wed, Oct 23, 2013 at 12:29 AM, Laurent Alebarde l.aleba...@free.frwrote: Hi Devs, I am trying to use zmq_threadstart. My first test passing ctx as args works, but I need now to pass two arguments. So I tried many ways and all the time it ends with a compilor insult : error: invalid

[zeromq-dev] ZeroMQ Normal Socket Connectivity Issue

2013-10-22 Thread Rashmiranjan
Hi Team, I am developing one own message Queue where Queue can receive multiple request from different publishers and will distribute to different subscribers(host). i checked in the net and found ZeroMQ is the suitable solution for my requirement. So I downloaded ZeoMQ 4.0.1 library and

Re: [zeromq-dev] JeroMQ/ZeroMQ transparent acceleration with Fast Sockets

2013-10-22 Thread Pieter Hintjens
Hi Guillermo, Interesting stuff. Is UFS an add-on module on Linux that replaces standard sockets? It would be interesting if there was a free version available for people to test. I see the performance difference for C++ over Infiniband is about 30%. It would be useful to have figures for

Re: [zeromq-dev] ZeroMQ Normal Socket Connectivity Issue

2013-10-22 Thread Pieter Hintjens
Hi Rashmi, If you're going to use ZMQ_STREAM for everything, the results will be clumsy compared to using PUB/SUB. Look in the tests/test_stream.cpp program for an example of how to send to a stream socket as client or server. -Pieter On Tue, Oct 22, 2013 at 7:17 PM, Rashmiranjan

Re: [zeromq-dev] shutting down proxy device cleanly with pyzmq

2013-10-22 Thread MinRK
This is fixed in pyzmq master, so nothing more to do but get around to a release. On Fri, Oct 18, 2013 at 9:46 PM, Sideropoulos, Alexander alexan...@thequery.net wrote: 13.1.0 I have attached an interactive session log which shows the issue as clearly as possible. I might just be doing

Re: [zeromq-dev] what do I do bad with zmq_threadstart ?

2013-10-22 Thread Laurent Alebarde
Thanks both of you Pieter and Mikko, Oh yes, this code is not the best one I tried: threads[i] = zmq_threadstart (client_task, (void*) args); threads[i] = zmq_threadstart (client_task, reinterpret_castvoid* (args)); Finally, in an other try, I did let client_task (void **) :-[ Le

Re: [zeromq-dev] shutting down proxy device cleanly with pyzmq

2013-10-22 Thread Sideropoulos, Alexander
Beautiful. I updated my pyzmq install using python setupegg.py develop and it's all working like butter. Thanks! --ap On Tue, Oct 22, 2013 at 11:39 AM, MinRK benjami...@gmail.com wrote: This is fixed in pyzmq master, so nothing more to do but get around to a release. On Fri, Oct 18, 2013