Re: [zeromq-dev] FW: Help With Regard To the ZMQ Forwarder

2012-03-28 Thread Ronald Swain
, in zmq.core.socket.Socket.setsockopt (zmq\core\socket.c:3353) zmq.core.error.ZMQError: Invalid argument This is very confusing. :-( From: benjami...@gmail.com Date: Tue, 27 Mar 2012 09:40:38 -0700 To: zeromq-dev@lists.zeromq.org Subject: Re: [zeromq-dev] FW: Help With Regard To the ZMQ Forwarder On Tue, Mar

Re: [zeromq-dev] FW: Help With Regard To the ZMQ Forwarder

2012-03-28 Thread Ronald Swain
) pd.setsockopt_in(zmq.SUBSCRIBE, ) pd.start() Thanks, Ronald From: benjami...@gmail.com Date: Mon, 26 Mar 2012 14:10:00 -0700 To: zeromq-dev@lists.zeromq.org Subject: Re: [zeromq-dev] FW: Help With Regard To the ZMQ Forwarder On Sun, Mar 25, 2012 at 23:05, Ronald Swain proj_symb...@live.com wrote

Re: [zeromq-dev] FW: Help With Regard To the ZMQ Forwarder

2012-03-28 Thread Ronald Swain
Ok Solved the problem again, by mistake i was trying to call setsockopt on a PUB socket. :-) From: proj_symb...@live.com To: zeromq-dev@lists.zeromq.org Date: Thu, 29 Mar 2012 04:55:18 +0200 Subject: Re: [zeromq-dev] FW: Help With Regard To the ZMQ Forwarder Hello All, Any help

Re: [zeromq-dev] FW: Help With Regard To the ZMQ Forwarder

2012-03-28 Thread Ronald Swain
again for lot of help. :-) From: p...@imatix.com Date: Wed, 28 Mar 2012 23:06:23 -0500 To: zeromq-dev@lists.zeromq.org Subject: Re: [zeromq-dev] FW: Help With Regard To the ZMQ Forwarder Ronald, What behavior would help you here? I assume you were not checking for a return code? Would

Re: [zeromq-dev] FW: Help With Regard To the ZMQ Forwarder

2012-03-28 Thread MinRK
...@live.com To: zeromq-dev@lists.zeromq.org Date: Wed, 28 Mar 2012 12:46:13 +0200 Subject: Re: [zeromq-dev] FW: Help With Regard To the ZMQ Forwarder Hello MinRK and all, Again i am getting an issue with unicode with python 3 i thing they have something different

Re: [zeromq-dev] FW: Help With Regard To the ZMQ Forwarder

2012-03-28 Thread Ronald Swain
@lists.zeromq.org Subject: Re: [zeromq-dev] FW: Help With Regard To the ZMQ Forwarder On Wed, Mar 28, 2012 at 21:16, Ronald Swain proj_symb...@live.com wrote: Hello Pieter , Thanks a lot for reply, and i must say this a great mailing list i have ever experienced. :-) The problem was on my

Re: [zeromq-dev] FW: Help With Regard To the ZMQ Forwarder

2012-03-27 Thread Ronald Swain
in this case). -MinRK Thanks, Ronald Date: Fri, 23 Mar 2012 10:35:02 -0500 From: cornelius.to...@gmail.com To: zeromq-dev@lists.zeromq.org Subject: Re: [zeromq-dev] FW: Help With Regard To the ZMQ Forwarder Check out the documentation on devices and pyzmq as well

Re: [zeromq-dev] FW: Help With Regard To the ZMQ Forwarder

2012-03-27 Thread Ronald Swain
Hello all. I solved the second error myself but i am still confused abt the first question. From: proj_symb...@live.com To: zeromq-dev@lists.zeromq.org Date: Tue, 27 Mar 2012 09:03:57 +0200 Subject: Re: [zeromq-dev] FW: Help With Regard To the ZMQ Forwarder Hello MinRK, Thanks

Re: [zeromq-dev] FW: Help With Regard To the ZMQ Forwarder

2012-03-27 Thread Michel Pelletier
error myself but i am still confused abt the first question. From: proj_symb...@live.com To: zeromq-dev@lists.zeromq.org Date: Tue, 27 Mar 2012 09:03:57 +0200 Subject: Re: [zeromq-dev] FW: Help With Regard To the ZMQ Forwarder Hello MinRK, Thanks

Re: [zeromq-dev] FW: Help With Regard To the ZMQ Forwarder

2012-03-27 Thread MinRK
@lists.zeromq.org Subject: Re: [zeromq-dev] FW: Help With Regard To the ZMQ Forwarder Check out the documentation on devices and pyzmq as well as the zguide ... whenever i start a zmq.device(zmq.Forwarder), this blocks my interpreter, so is there any way of starting a forwarder always as a different

Re: [zeromq-dev] FW: Help With Regard To the ZMQ Forwarder

2012-03-26 Thread Ronald Swain
. Thanks Regards, Ronald From: proj_symb...@live.com To: zeromq-dev@lists.zeromq.org Date: Tue, 20 Mar 2012 12:27:24 +0530 Subject: Re: [zeromq-dev] FW: Help With Regard To the ZMQ Forwarder Ok the first question is i am back to zero, so now when my scripts are working i am able to send

Re: [zeromq-dev] FW: Help With Regard To the ZMQ Forwarder

2012-03-26 Thread MinRK
: [zeromq-dev] FW: Help With Regard To the ZMQ Forwarder Check out the documentation on devices and pyzmq as well as the zguide ... whenever i start a zmq.device(zmq.Forwarder), this blocks my interpreter, so is there any way of starting a forwarder always as a different process or any ways

Re: [zeromq-dev] FW: Help With Regard To the ZMQ Forwarder

2012-03-23 Thread Cornelius Toole
(mailto:zeromq-dev@lists.zeromq.org) Date: Tue, 20 Mar 2012 12:27:24 +0530 Subject: Re: [zeromq-dev] FW: Help With Regard To the ZMQ Forwarder Ok the first question is i am back to zero, so now when my scripts are working i am able to send messages, the question of cleaning comes. i am

Re: [zeromq-dev] FW: Help With Regard To the ZMQ Forwarder

2012-03-22 Thread Ronald Swain
: proj_symb...@live.com To: zeromq-dev@lists.zeromq.org Date: Tue, 20 Mar 2012 12:27:24 +0530 Subject: Re: [zeromq-dev] FW: Help With Regard To the ZMQ Forwarder Ok the first question is i am back to zero, so now when my scripts are working i am able to send messages, the question of cleaning

Re: [zeromq-dev] FW: Help With Regard To the ZMQ Forwarder

2012-03-20 Thread Symbian Projects
copy can be found at https://gist.github.com/2132163, can you guys tell me what wrong i am doing here. From: proj_symb...@live.com To: zeromq-dev@lists.zeromq.org Date: Tue, 20 Mar 2012 11:23:44 +0530 Subject: Re: [zeromq-dev] FW: Help With Regard To the ZMQ Forwarder Hello Cornelius

Re: [zeromq-dev] FW: Help With Regard To the ZMQ Forwarder

2012-03-19 Thread Symbian Projects
Hi , Is there any one who can help me on this ?? Regards, Ronald From: proj_symb...@live.com To: zeromq-dev@lists.zeromq.org Date: Sun, 18 Mar 2012 19:44:15 +0530 Subject: Re: [zeromq-dev] FW: Help With Regard To the ZMQ Forwarder Hello Cornelius, Thanks and that worked well

Re: [zeromq-dev] FW: Help With Regard To the ZMQ Forwarder

2012-03-19 Thread Justin Cook
On Mon, Mar 19, 2012 at 10:25 AM, Symbian Projects proj_symb...@live.com wrote: Is there any one who can help me on this ?? This thread started focusing signal handling versus your messaging code. If it was working and now is not, clearly you changed something that created this behaviour. Look

Re: [zeromq-dev] FW: Help With Regard To the ZMQ Forwarder

2012-03-19 Thread Symbian Projects
To: zeromq-dev@lists.zeromq.org Subject: Re: [zeromq-dev] FW: Help With Regard To the ZMQ Forwarder On Mon, Mar 19, 2012 at 10:25 AM, Symbian Projects proj_symb...@live.com wrote: Is there any one who can help me on this ?? This thread started focusing signal handling versus your

Re: [zeromq-dev] FW: Help With Regard To the ZMQ Forwarder

2012-03-19 Thread Justin Cook
If the same code with same libraries no longer works then clearly you have a runtime issue. Have you tried restarting the platforms? Maybe you should have a look at the order in which things are happening. Are you subscribing before the messages are sent? Perhaps its an IP filtering issue. Make

Re: [zeromq-dev] FW: Help With Regard To the ZMQ Forwarder

2012-03-19 Thread Symbian Projects
diagnose that the port is closed or blocked something like that. Thanks, Ronald From: jhc...@gmail.com Date: Mon, 19 Mar 2012 15:27:12 + To: zeromq-dev@lists.zeromq.org Subject: Re: [zeromq-dev] FW: Help With Regard To the ZMQ Forwarder If the same code with same libraries no longer works

Re: [zeromq-dev] FW: Help With Regard To the ZMQ Forwarder

2012-03-19 Thread Cornelius Toole
, 19 Mar 2012 15:27:12 + To: zeromq-dev@lists.zeromq.org (mailto:zeromq-dev@lists.zeromq.org) Subject: Re: [zeromq-dev] FW: Help With Regard To the ZMQ Forwarder If the same code with same libraries no longer works then clearly you have a runtime issue. Have you tried restarting

Re: [zeromq-dev] FW: Help With Regard To the ZMQ Forwarder

2012-03-19 Thread Symbian Projects
, Ronald Date: Mon, 19 Mar 2012 11:24:40 -0500 From: cornelius.to...@gmail.com To: zeromq-dev@lists.zeromq.org Subject: Re: [zeromq-dev] FW: Help With Regard To the ZMQ Forwarder Ronald, You can use netstat. You're using windows, right? http

Re: [zeromq-dev] FW: Help With Regard To the ZMQ Forwarder

2012-03-19 Thread Cornelius Toole
@lists.zeromq.org (mailto:zeromq-dev@lists.zeromq.org) Subject: Re: [zeromq-dev] FW: Help With Regard To the ZMQ Forwarder Ronald, You can use netstat. You're using windows, right? http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/netstat.mspx?mfr=true

Re: [zeromq-dev] FW: Help With Regard To the ZMQ Forwarder

2012-03-19 Thread Symbian Projects
...@gmail.com To: zeromq-dev@lists.zeromq.org Subject: Re: [zeromq-dev] FW: Help With Regard To the ZMQ Forwarder Ronald, You can use netstat. You're using windows, right? http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us

Re: [zeromq-dev] FW: Help With Regard To the ZMQ Forwarder

2012-03-19 Thread Symbian Projects
Subject: Re: [zeromq-dev] FW: Help With Regard To the ZMQ Forwarder From the looks of your code https://gist.github.com/2119078, you define functions for sending and receiving messages, but you do not call them, like you do with Forwarder.py. Also for the sake

Re: [zeromq-dev] FW: Help With Regard To the ZMQ Forwarder

2012-03-18 Thread Symbian Projects
...@cct.lsu.edu To: zeromq-dev@lists.zeromq.org Subject: Re: [zeromq-dev] FW: Help With Regard To the ZMQ Forwarder Ronald, My understanding is that those signals are defined by the operating system and are interrupts that occur when certain events happen. So

Re: [zeromq-dev] FW: Help With Regard To the ZMQ Forwarder

2012-03-16 Thread Cornelius Toole
@lists.zeromq.org) Subject: Re: [zeromq-dev] FW: Help With Regard To the ZMQ Forwarder At the bottom of the Python docs for signal module: http://docs.python.org/library/signal.html On Thu, Mar 15, 2012 at 1:46 PM, Symbian Projects proj_symb...@live.com (mailto:proj_symb...@live.com

Re: [zeromq-dev] FW: Help With Regard To the ZMQ Forwarder

2012-03-16 Thread Symbian Projects
To: zeromq-dev@lists.zeromq.org Subject: Re: [zeromq-dev] FW: Help With Regard To the ZMQ Forwarder At the bottom of the Python docs for signal module: http://docs.python.org/library/signal.html On Thu, Mar 15, 2012 at 1:46 PM, Symbian Projects proj_symb...@live.com wrote: Oh are there any

Re: [zeromq-dev] FW: Help With Regard To the ZMQ Forwarder

2012-03-16 Thread Cornelius Toole
-dev@lists.zeromq.org (mailto:zeromq-dev@lists.zeromq.org) Subject: Re: [zeromq-dev] FW: Help With Regard To the ZMQ Forwarder Ronald, My understanding is that those signals are defined by the operating system and are interrupts that occur when certain events happen. So for instance

[zeromq-dev] FW: Help With Regard To the ZMQ Forwarder

2012-03-15 Thread Symbian Projects
Hello All, I am trying to use ZMQ forwarder device , my use case is simple, i have two three clients and i want then send and receive message together. I am using the following method to start my forwarder device: import zmq def startForwarder(): context = zmq.Context(1) incoming =

Re: [zeromq-dev] FW: Help With Regard To the ZMQ Forwarder

2012-03-15 Thread Justin Cook
Are you closing the socket and terminating the context when you exit? On Thu, Mar 15, 2012 at 10:52 AM, Symbian Projects proj_symb...@live.com wrote: It works ok for the first time but the next time i start it doesnt bind to the outgoing PUB port always gives me error something like :  line

Re: [zeromq-dev] FW: Help With Regard To the ZMQ Forwarder

2012-03-15 Thread Justin Cook
incoming.close() outgoing.close() context.term() On Thu, Mar 15, 2012 at 1:30 PM, Symbian Projects proj_symb...@live.com wrote: Hello justin, Thanks for the reply , can you tell me how i can close the socket and terminate the context. Regarding closing the socket you mean by

Re: [zeromq-dev] FW: Help With Regard To the ZMQ Forwarder

2012-03-15 Thread Symbian Projects
thanks, now i need to call this when my application closes correct. Thanks a lot Justin, i will try this and will get back to mailing list if required. :-) From: jhc...@gmail.com Date: Thu, 15 Mar 2012 13:39:04 + To: zeromq-dev@lists.zeromq.org Subject: Re: [zeromq-dev] FW: Help

Re: [zeromq-dev] FW: Help With Regard To the ZMQ Forwarder

2012-03-15 Thread Justin Cook
Make sure you have a signal handler in place to handle common signals like 1 HUP (hang up) 2 INT (interrupt) 3 QUIT (quit) 6 ABRT (abort) 9 KILL (non-catchable, non-ignorable kill) 14 ALRM (alarm clock) 15 TERM (software

Re: [zeromq-dev] FW: Help With Regard To the ZMQ Forwarder

2012-03-15 Thread Symbian Projects
: Help With Regard To the ZMQ Forwarder Make sure you have a signal handler in place to handle common signals like 1 HUP (hang up) 2 INT (interrupt) 3 QUIT (quit) 6 ABRT (abort) 9 KILL (non-catchable, non-ignorable kill) 14 ALRM

Re: [zeromq-dev] FW: Help With Regard To the ZMQ Forwarder

2012-03-15 Thread Justin Cook
At the bottom of the Python docs for signal module: http://docs.python.org/library/signal.html On Thu, Mar 15, 2012 at 1:46 PM, Symbian Projects proj_symb...@live.com wrote: Oh are there any documentation about this signal handlers, from them they seems to be very useful. Or can you help me

Re: [zeromq-dev] FW: Help With Regard To the ZMQ Forwarder

2012-03-15 Thread Symbian Projects
Hello Justin Can you tell me where these signals are defined, like in PyZMQ or somewhere else i am not able to use them. :-( From: jhc...@gmail.com Date: Thu, 15 Mar 2012 14:59:31 + To: zeromq-dev@lists.zeromq.org Subject: Re: [zeromq-dev] FW: Help With Regard To the ZMQ Forwarder