Re: [zeromq-dev] Zyre PHP

2014-07-08 Thread Arnaud Loonstra
On 06/25/2014 01:44 PM, William Martin wrote: Hi, Does someone have start writing a PHP binding for zyre, or a pure PHP implementation ? I guess the answer is no. I haven't heard of anything either. Arnaud -- w: http://www.sphaero.org t: http://twitter.com/sphaero g:

[zeromq-dev] PC3 Questions

2014-07-08 Thread Doron Somech
Hi, I'm not sure if it is the right place to ask those questions, I will try anyway. I want to implement the PC3 (http://hintjens.com/blog:23) process in a new project in the company (using NetMQ for messaging) and I have some questions regarding the PC3 process. 1. What is the role of a

[zeromq-dev] Trouble getting Paranoid Pirate and Majordomo patterns to function.

2014-07-08 Thread Riskybiz
Dear zeromq developers, In recent weeks I've been trying to compile and run the Paranoid Pirate and Majordomo patterns. Failing to get the Paranoid pirate to work properly I moved onto the Majordomo pattern example. Sadly it was not possible to make that work either.

Re: [zeromq-dev] Zyre PHP

2014-07-08 Thread William Martin
Hi, I have write the PHP binding. You can see the pull request on github. https://github.com/mkoppanen/php-zmq/pull/133 All comments are welcome, William MARTIN On Tue, Jul 8, 2014 at 6:35 PM, Arnaud Loonstra arn...@sphaero.org wrote: On 06/25/2014 01:44 PM, William Martin wrote: Hi,

[zeromq-dev] Need help on java jni binding -- ZMQ.Poller.register(SelectableChannel, int)

2014-07-08 Thread artemv zmq
hi I'm on java, using jzmq-3.2.2, and jni binding v3. Ran into troubles with poller and its .register(SelectableChannel, int) function. The problem is that target SelectableChannel once registered can render only one occurrence of .pollin() == true. Despite the fact that my External

Re: [zeromq-dev] Need help on java jni binding -- ZMQ.Poller.register(SelectableChannel, int)

2014-07-08 Thread artemv zmq
The part: MySelectionKey selectionKey = new MySelectionKey(socketChannel); selectionKey.attach(nioSocketChannel); read(selectionKey); is just dummy internal stuff. Pls. ignore it for this question. 2014-07-08 17:49 GMT+03:00 artemv zmq artemv@gmail.com: hi I'm on java, using

[zeromq-dev] ZMTP greeting

2014-07-08 Thread Chris Laws
I'm playing around with a ZMTP implementation and I notice that other ZMTP implementations seem to be setting the second last byte of the ZMTP signature to \x01 (the byte before the last \x7F). The various ZMTP specs (15, 23, 37) indicate that the 8 bytes between the \xFF and \x7F should be \x00

Re: [zeromq-dev] ZMTP greeting

2014-07-08 Thread Doron Somech
From ZMTP v2.0 RFC - Send a 10-octet signature consisting of %xFF length %x7F where 'length' is the length of the sender's identity (0 or more octets) plus 1. The length MUST be 8 octets in network byte order. On Tue, Jul 8, 2014 at 6:15 PM, Doron Somech somdo...@gmail.com wrote:

Re: [zeromq-dev] ZMTP greeting

2014-07-08 Thread Doron Somech
the length of the identity plus one On Tue, Jul 8, 2014 at 6:09 PM, Chris Laws clawsi...@gmail.com wrote: I'm playing around with a ZMTP implementation and I notice that other ZMTP implementations seem to be setting the second last byte of the ZMTP signature to \x01 (the byte before the last

Re: [zeromq-dev] Error Using XSUB and XPUB in CZMQ

2014-07-08 Thread Mellitus Ezeme
Hi, Thanks very much for your reply. I am sorry am not yet an expert on this and had to bother you again. I have applied the correction you gave me but a new development occurred. I want the client and the server to talk to each other as long as I want but unfortunately, they only exchange