Re: [zeromq-dev] ZeroMQ and NORM

2015-03-11 Thread MinRK
How did you install pyzmq? What OS is this? -MinRK On Wed, Mar 11, 2015 at 7:03 AM, Adam Najman naj...@gmail.com wrote: I'm trying to establish a NORM connection using ZeroMQ as detailed here: http://zeromq.org/topics:norm-protocol-transport I've already built NORM and ZeroMQ with support

Re: [zeromq-dev] ZeroMQ and NORM

2015-03-11 Thread MinRK
If you want to configure zeromq, you probably shouldn’t be using --zmq=bundled. I would configure and install libzmq with --prefix=PREFIX, then load it for pyzmq with setup.py install --zmq=PREFIX. -MinRK ​ On Wed, Mar 11, 2015 at 11:37 AM, Michel Pelletier pelletier.mic...@gmail.com wrote: I

Re: [zeromq-dev] ZeroMQ and NORM

2015-03-11 Thread Michel Pelletier
I guess my approach doesn't help if you're looking to add special configure args like --with-norm, MinRK, do you know of a way to pass those args to the bundling configure call? A quick glance at setup.py didn't give me any good ideas. -Michel On Wed, Mar 11, 2015 at 10:40 AM, Michel Pelletier

Re: [zeromq-dev] ZeroMQ and NORM

2015-03-11 Thread Brian Adamson
As I think MinRF is getting at here, you need to make sure your pyzmq you are using is loading the libzmq that you built/installed with the NORM extension. On my systems, I had to download and install pyzmq from source code instead of one the prebuilt packages that assumed a dependency on an

Re: [zeromq-dev] ZeroMQ and NORM

2015-03-11 Thread Michel Pelletier
I've found the best way to avoid these kind of problems (version mismatch with existing system libzmq) is to use a virtual environment and then do a bundled pyzmq build: $ virtualenv foo $ . foo/bin/activate (foo)$ pip install --install-option --zmq=bundled pyzmq (foo)$ python -c 'import

[zeromq-dev] CURVE I: cannot open client INITIATE vouch

2015-03-11 Thread Bachmair Florian - flexSolution GmbH
Hi! I have generated the certificates with 'makecert' and put it in individual .curve folders for the subscriber and publisher. If I let the publisher use the private certificate and the subscriber the public one I get this output : CURVE I: cannot open client INITIATE vouch But if I use

Re: [zeromq-dev] Newbie question about how zmq actually works

2015-03-11 Thread YANG Fan
Wow this is so neat! I don't need to open a background thread for receiving at all! Thanks so much! On Wed, Mar 11, 2015 at 10:52 AM, Kenneth Adam Miller kennethadammil...@gmail.com wrote: Oh whoops, wrong link. Here, read this: http://zeromq.org/whitepapers:architecture On Tue, Mar 10,

Re: [zeromq-dev] [pyzmq]: Asynchronous client api design

2015-03-11 Thread Yassine Lamgarchal
2015-03-11 1:30 GMT+01:00 Kenneth Adam Miller kennethadammil...@gmail.com: Ok, well when you have some code let me know and I will review. Cool :), here is the repo of the project https://github.com/ylamgarchal/chillaxd For now, the client is synchronous, i'll will update it.

[zeromq-dev] zmq_poll question.

2015-03-11 Thread Riskybiz
If I an application uses zmq_poll() before sending or receiving messages to check socket(s) for these events; ZMQ_POLLIN For ØMQ sockets, at least one message may be received from the socket without blocking. For standard sockets this is equivalent to the POLLIN flag of the poll()system call

Re: [zeromq-dev] zmq_poll question.

2015-03-11 Thread Kenneth Adam Miller
I have replied inline. On Wed, Mar 11, 2015 at 8:09 AM, Riskybiz riskybizl...@live.com wrote: If I an application uses zmq_poll() before sending or receiving messages to check socket(s) for these events; *ZMQ_POLLIN* For ØMQ sockets, at least one message may be received from the *socket*