Re: [zeromq-dev] zeromq 3 problems

2013-09-10 Thread Alexander Pugachev
Thanks, Victor, Lucas. Indeed, I am using the PPA you mentioned and I'll try another bindings starting from cl-zmq. Thanks! Peter, looks like the problem is misconfiuration, I was trying to use cl-zmq 2013/9/10 Lucas Hope lucas.r.h...@gmail.com Hi Alex, As far as I know, cl-zmq on

Re: [zeromq-dev] [libcurve] First draft of client server sockets (high level API) (#11)

2013-09-10 Thread Laurent Alebarde
Hi Pieter Ian, libcurve #11 builds well, but curve_selftest fails for me : $ /usr/bin/curve_selftest * curve_keypair: OK * curve_keystore: OK curve_selftest: curve_codec.c:915: curve_codec_test: Assertion `rc == 0' failed. * curve_codec: Abandon From the code : // @selftest

Re: [zeromq-dev] [libcurve] First draft of client server sockets (high level API) (#11)

2013-09-10 Thread Pieter Hintjens
Do you have the file src/test_keystore? This contains client/server keys for the self test. On Tue, Sep 10, 2013 at 9:52 AM, Laurent Alebarde l.aleba...@free.frwrote: Hi Pieter Ian, libcurve #11 builds well, but curve_selftest fails for me : $ /usr/bin/curve_selftest * curve_keypair:

Re: [zeromq-dev] [libcurve] First draft of client server sockets (high level API) (#11)

2013-09-10 Thread Pieter Hintjens
Since I'm making improvements to CZMQ and libzmq as part of this work, you will need to update those two projects from GitHub master if they change. I've just done a clean clone of libzmq, CZMQ, and libcurve from GitHub and they build and pass tests as expected. -Pieter On Tue, Sep 10, 2013 at

[zeromq-dev] Communication of 0MQ and Regular TCP/IP

2013-09-10 Thread asif saeed
Hi, I want to build a 0mq app (on linux - or windows) that communicates with a regular TCP/IP app running on windows. How do you suggest I should do this? Thanks, -Asif ___ zeromq-dev mailing list zeromq-dev@lists.zeromq.org

[zeromq-dev] problem with czmq zloop timer

2013-09-10 Thread Chris Laws
Hi list, I am developing applications using the czmq zmq binding. My application uses multiple timers to perform various time dependant actions. I am encountering issues when cancelling timers. My application is encapsulated within a struct that contains state, sockets, etc which I think is a

Re: [zeromq-dev] Communication of 0MQ and Regular TCP/IP

2013-09-10 Thread Pieter Hintjens
Hi Asif, Make sure you're using the latest GitHub master of libzmq; then use a ZMQ_STREAM socket. There is an example in tests/test_stream.cpp. -Pieter On Tue, Sep 10, 2013 at 12:23 PM, asif saeed asif.l...@gmail.com wrote: Hi, I want to build a 0mq app (on linux - or windows) that

Re: [zeromq-dev] problem with czmq zloop timer

2013-09-10 Thread Pieter Hintjens
On Tue, Sep 10, 2013 at 1:36 PM, Chris Laws clawsi...@gmail.com wrote: My application is encapsulated within a struct that contains state, sockets, etc which I think is a typical approach. Right. If you use the same reference for multiple timers, they're all going to be cancelled at the same

Re: [zeromq-dev] Communication of 0MQ and Regular TCP/IP

2013-09-10 Thread asif saeed
No, Sir. My environment doesn't allow me to use GitHub, I am afraid - there are too many network restrictions/policies. Just cannot do it. I'd be thankful if you could please post a windows + Linux installation/sources that I can easily build - just like the existing ones. By the way, what does

Re: [zeromq-dev] [libcurve] First draft of client server sockets (high level API) (#11)

2013-09-10 Thread l . alebarde
I have had some email account problems the last hours. Sorry for the inconveniance. Thanks for the tip Pieter. It was due to a working directory definition in my working environment. Quoting Pieter Hintjens p...@imatix.com: Do you have the file src/test_keystore? This contains client/server

[zeromq-dev] What am I doing wrong?

2013-09-10 Thread Gonzalo Vasquez
Folks, I thought my code was OK, but yesterday I put a Junit Test under ContiPerf annotiations to stress the zmq link and booom!!! Several problems arose. On the client side I have: try { req = (Socket) socketPool.borrowObject();

[zeromq-dev] non-blocking shutdown command

2013-09-10 Thread Richard_Newton
Hi All, I've just implemented a non-blocking shutdown command name zmq_ctx_shutdown and am concerned about the name. This is an optional command that can be used when you want to shut down a context that will unblock any blocked operations on other threads but will not then block waiting for

Re: [zeromq-dev] Communication of 0MQ and Regular TCP/IP

2013-09-10 Thread Pieter Hintjens
You can get a downloadable zip of the current master here: https://github.com/zeromq/libzmq/archive/master.zip I've posted today's latest snapshot to http://download.zeromq.org/libzmq-master-bba0dd.zip, and will remove it later. ZMQ_STREAM is documented in that package; it's like ZMQ_ROUTER +

[zeromq-dev] ZeroMQ 3.2.3 and jeromq 0.30 SNAPSHOT

2013-09-10 Thread St. Aubin, Albert (US SSA)
Is jeroMQ compatible with ZeroMQ 3.2.3? I am attempting to create a server that is a subscriber with publishers that connect to it. I have the Server binding to a socket setup as the subscriber and I am attempting to receive messages that are being sent by a publisher that tried to connect to

[zeromq-dev] czmq compilation failure (-Werror)

2013-09-10 Thread Patrick Noffke
Hello, I am attempting to compile czmq with a cross-compiler (gcc 4.8.0), and I am getting a bunch of errors like this: make[3]: Entering directory `/home/pnoffke/QT_Linux/compile/czmq-1.4.1/src' /bin/sh ../libtool --tag=CC --mode=compile x86_64-quadtech-linux-gnu-gcc -DHAVE_CONFIG_H -I.

Re: [zeromq-dev] czmq compilation failure (-Werror)

2013-09-10 Thread Steven McCoy
On 10 September 2013 16:20, Patrick Noffke patrick.nof...@gmail.com wrote: I am attempting to compile czmq with a cross-compiler (gcc 4.8.0), and I am getting a bunch of errors like this: zbeacon.c: In function 'zbeacon_publish': zbeacon.c:176:5: error: ISO C90 forbids mixed declarations and

Re: [zeromq-dev] non-blocking shutdown command

2013-09-10 Thread Matt Connolly
Couldn’t this be already solved by having the main thread simply close the socket? Sockets are supposed to be only used on a single thread, but I understood the zmq_term would close the sockets anyway. The result would be that calls to send or receive on the socket would return an error code.

Re: [zeromq-dev] czmq compilation failure (-Werror)

2013-09-10 Thread Patrick Noffke
On Tue, Sep 10, 2013 at 3:56 PM, Steven McCoy steven.mc...@miru.hk wrote: Use a C99 compiler for CZMQ. With GCC this is usually with a flag -std=gnu99 or -std=c99. Thanks, setting CFLAGS=-std=c99 during configure worked. Patrick ___ zeromq-dev

Re: [zeromq-dev] What am I doing wrong?

2013-09-10 Thread Michael Scofield
REQ socket is implemented like an FSM, it transforms between send and recv(basicly). Thus the IllegalStateException occurred if you tried to use send twice. It's not use to only invalidate and return the socket(since you have set the socket's state). You can resent the data through it only by

Re: [zeromq-dev] ZeroMQ 3.2.3 and jeromq 0.30 SNAPSHOT

2013-09-10 Thread Michael Scofield
It's ok that server using Jeromq and client using 0mq(c++). In fact, that's how our app communicates with the server. 2013/9/11 St. Aubin, Albert (US SSA) albert.stau...@baesystems.com Is jeroMQ compatible with ZeroMQ 3.2.3? I am attempting to create a server that is a subscriber with