Re: [zeromq-dev] Out dated Spec: 15/ZMTP - ZeroMQ Message Transport Protocol

2012-12-31 Thread Michael Compton
the PUB socket type. Ditto for XSUB/SUB. I've added a > note to the RFC page to clarify this. > > There are no undocumented changes to the protocol. If you find any, > those would be considered bugs. > > -Pieter > > > On Mon, Dec 31, 2012 at 9:44 AM, Michael Compton &

[zeromq-dev] Out dated Spec: 15/ZMTP - ZeroMQ Message Transport Protocol‏

2012-12-31 Thread Michael Compton
The spec does not refer to the xpub/xsub which are now available. I would edit but I am not totally confident I understand fully the semantics for the sockets, i.e. which other sockets are allowed to connect. Also has there been any other undocumented changes to the protocol? Spec link: http:

Re: [zeromq-dev] Patch: Full conversion of XREQ/XREP to DEALER/ROUTER

2012-02-02 Thread Michael Compton
On Fri, 3 Feb 2012 13:46:25 +1100 john skaller wrote: > Sorry, confirm does this mean XREP/XREQ no longer exist at all? > I assume that.. will remove from my binding. Agree this is source > of needless confusion. Nice! > Yep, hoping to remove all mention of XREQ/XREP. Including documentation.

[zeromq-dev] Patch: Full conversion of XREQ/XREP to DEALER/ROUTER

2012-02-02 Thread Michael Compton
Hi All, https://github.com/zeromq/libzmq/pull/229#issuecomment-3786244 I will be resubmitting this patch again. And if anyone would like to chime in with any thoughts on the issue that would be great. I'd be particularly interested in hearing from the regular internals hackers, as this affect

Re: [zeromq-dev] Job Ad: 0MQ oriented OSS S/W dev volunteer

2012-01-28 Thread Michael Compton
It would be nice to see a Lab page for this. I'm curious as to more details of what you envisage for such a system John. It could be interesting to get an exchange of ideas going for this. For my part I am more interested in the concepts than DSL implementation with Felix. Cheers, Michael O

Re: [zeromq-dev] Router/Dealer lost messages (libzmq 3.1.1)

2012-01-23 Thread Michael Compton
12 13:01:06 +1100 john skaller wrote: > > On 24/01/2012, at 12:08 PM, Michael Compton wrote: > > > Are you trying this against libzmq 3.1.1. > > 3.1.0 I think, from the tarball. I have the latest git repo so I could > upgrade to that .. done .. here's the full pro

Re: [zeromq-dev] Router/Dealer lost messages (libzmq 3.1.1)

2012-01-23 Thread Michael Compton
Are you trying this against libzmq 3.1.1. I tried this numerous times and it never worked, yet worked first time with 2.1.11, per my follow up email On Tue, 24 Jan 2012 12:04:14 +1100 john skaller wrote: > > On 24/01/2012, at 9:08 AM, Michael Compton wrote: > > > Hi, > >

Re: [zeromq-dev] Router/Dealer lost messages (libzmq 3.1.1)

2012-01-23 Thread Michael Compton
On Mon, 23 Jan 2012 22:08:08 + Michael Compton wrote: > Hi, > > I am trying to do explicit message routing using Router/Dealer > connection pattern, as documented in the zguide: > http://zguide.zeromq.org/page:all#toc49 > > But the messages never arrive at the des

[zeromq-dev] Router/Dealer lost messages (libzmq 3.1.1)

2012-01-23 Thread Michael Compton
Hi, I am trying to do explicit message routing using Router/Dealer connection pattern, as documented in the zguide: http://zguide.zeromq.org/page:all#toc49 But the messages never arrive at the destination. Please find the code here: http://paste.lisp.org/display/127256#1 Program output here: ht

Re: [zeromq-dev] Testing framework

2012-01-23 Thread Michael Compton
Hi, It could be possible to leverage the reporting and assertation mechanism provided by existing unit test frameworks without actually carrying out unit testing per say, or indeed writing the scripts in said languages. I developed an automated testing framework for a state-full HTTP client/serve

Re: [zeromq-dev] The type or namespace name 'ZMQ' could not be found

2011-03-25 Thread Michael Compton
Hi Pierre, Sorry for the the confuse but that example is for clrzmq2 not ZeroMQ Interop. Cheers, Michael On Fri, 2011-03-25 at 20:38 +, pierre8r-2...@yahoo.fr wrote: > Hello, > > > OS Windows XP > Microsoft Visual C# 2008 Express > https://github.com/imatix/zguide/blob/master/examples/C%23

Re: [zeromq-dev] Why should I compile ZeroMQ to install it on .NET ? Are there any Zeromq. NET binaries already built ?

2011-03-24 Thread Michael Compton
Hi Pierre, The .NET binding, clrzmq2, needs the libzmq binary to function, it is only a binding of that library. The choice of not packaging a binary is due to the fact that clrzmq2 is cross platform and so packaging up a binary with it is not necessarily appropriate. The build process is pretty

Re: [zeromq-dev] [NEWS] zapi/1.1.0 released

2011-03-24 Thread Michael Compton
While zapi is definitely cool and I can see your desire to have the guide migrated to zapi, I'd still have sympathize with Martins point. Expecting the other binding examples authors to come and migrate their examples may be a bit much, and part of the value of guide, in my eyes, is aa source of

[zeromq-dev] clrzmq - retirement

2011-03-18 Thread Michael Compton
Hi all, I would like to propose the retirement of the original clrzmq binding. This would just involve moving it to a less prominent place in the C# binding page, probably at the end under the heading of deprecated binding. Of course the repository would remain available. This would leave Intero

Re: [zeromq-dev] JZMQ: Problems building on win32 (MS Visual Studio)

2011-03-15 Thread Michael Compton
ing the file - but you should be > creating a dll and shipping 2 dlls. Still you need to configure libpath in > visual studio to point to the directory with the libzmq.lib > On Mar 15, 2011, at 3:02 PM, Michael Compton wrote: > > > But the jzmq was specifically looking for lib

Re: [zeromq-dev] JZMQ: Problems building on win32 (MS Visual Studio)

2011-03-15 Thread Michael Compton
; On Mar 15, 2011, at 2:42 PM, Michael Compton wrote: > > > On Tue, 2011-03-15 at 21:23 +0100, C. Huntz wrote: > >> Le 15/03/2011 21:00, Michael Compton a écrit : > >>> Hi, > >>> > >>> I am having problems building jzmq on Win32. > >>&g

Re: [zeromq-dev] JZMQ: Problems building on win32 (MS Visual Studio)

2011-03-15 Thread Michael Compton
On Tue, 2011-03-15 at 21:23 +0100, C. Huntz wrote: > Le 15/03/2011 21:00, Michael Compton a écrit : > > Hi, > > > > I am having problems building jzmq on Win32. > > > > I built libzmq to output a lib file (libzmq.lib), but when I try > > building jmzq I get

[zeromq-dev] JZMQ: Problems building on win32 (MS Visual Studio)

2011-03-15 Thread Michael Compton
Hi, I am having problems building jzmq on Win32. I built libzmq to output a lib file (libzmq.lib), but when I try building jmzq I get around 20 errors of unresolved external symbols for what seems like all the functions in libzmq. Any suggestions? Cheers, Michael __

Re: [zeromq-dev] Interruptted System Calls, EINTR, and more about POSIX signals than I ever wanted to know

2011-03-15 Thread Michael Compton
On Tue, 2011-03-15 at 13:28 +0100, Martin Lucina wrote: > michael.comp...@littleedge.co.uk said: > > Hi all, > > > > Sorry for the long subject name, I'm going to try and keep this short > > because it gives me a headache, hehe. > > > > This is some what connected to the following from the mailin

[zeromq-dev] Any 0MQers in Hamburg (30th March - 1st April)

2011-03-12 Thread Michael Compton
Hi all, I'm going to be in Hamburg at the end of the month for the European Lisp Symposium, and I just wanted to put out a feeler to see if anyone else would be in the area around then for maybe a mini meetup. Guido is from the area so he should also be around then. Cheers, Michael _

Re: [zeromq-dev] Interruptted System Calls, EINTR, and more about POSIX signals than I ever wanted to know

2011-03-10 Thread Michael Compton
Disabling the GC in that way is unfortunately not possible. On Thu, 2011-03-10 at 21:17 +0100, Pieter Hintjens wrote: > On Thu, Mar 10, 2011 at 8:28 PM, Michael Compton > wrote: > > > I am open for correction on any of this and suggestions on how best to > > deal with the

[zeromq-dev] Interruptted System Calls, EINTR, and more about POSIX signals than I ever wanted to know

2011-03-10 Thread Michael Compton
Hi all, Sorry for the long subject name, I'm going to try and keep this short because it gives me a headache, hehe. This is some what connected to the following from the mailing list: http://lists.zeromq.org/pipermail/zeromq-dev/2010-September/005822.html While developing the clrzmq2 and using

Re: [zeromq-dev] Some C# guide examples for chapter 3

2011-03-05 Thread Michael Compton
t; last year, and the same as currently in the repository. > > -Pieter > > On Sat, Mar 5, 2011 at 7:43 PM, Michael Compton > wrote: > > Please find attached some translate examples for the guide in C#. > > > > These code examples are hereby licensed under MIT/X

[zeromq-dev] Some C# guide examples for chapter 3

2011-03-05 Thread Michael Compton
Please find attached some translate examples for the guide in C#. These code examples are hereby licensed under MIT/X11 license. Contents: lruqueue.cs lruqueue2.cs identity.cs rtdealer.cs rtmama.cs rtpapa.cs asyncsrv.cs zmsg.cs (For multipart message) Cheers, Michael C# Examples 2.tar.bz2 Des

Re: [zeromq-dev] IPC on Windows

2011-02-28 Thread Michael Compton
Jose I know it's off-topic, but I'd tentatively recommend using one of the other CLR bindings, either ZeroMQ Interop or clrzmq2. The rational is that clrzmq1 is unlikely to move forward as I see it, I am down as one of the maintainers but I'm unlikely to be making more than the odd bug fix. Curr

Re: [zeromq-dev] [PATCH] Added note to setsockopt

2011-02-14 Thread Michael Compton
Signed off. On Mon, 2011-02-14 at 00:06 +, Michael Compton wrote: > Note added to remind users that options should be set before > bind/connect to take effect. > > P.S. I haven't submitted a patch before so please double check it is ok, > and let me know if

[zeromq-dev] [PATCH] Added note to setsockopt

2011-02-13 Thread Michael Compton
Michael Compton Date: Mon, 14 Feb 2011 00:01:38 + Subject: [PATCH] Added note regarding setting sockopt before bind/connect Signed-off-by: Michael Compton --- doc/zmq_setsockopt.txt |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/doc/zmq_setsockopt.txt b/doc/zmq_setsoc

[zeromq-dev] clrzmq2 - Updates

2011-02-09 Thread Michael Compton
Hi all, There has been a lot updates to the clrzmq2 bindings recently and I thought I'd announce some more highlights. Some new devices added: Forwarder Streamer AsyncReturn -> XREP <- PULL Added socket object event handlers, these can then be passes to an overload version of the static Contex

Re: [zeromq-dev] BadImageFormatException

2011-02-06 Thread Michael Compton
Hi Torsten, This is usually a mismatch between target arch of the ZeroMQ lib and the CLR binding e.g. 64bit ZeroMQ lib and 32bit CLR build. Which CLR binding are you trying? Cheers, Michael On Sun, 2011-02-06 at 19:59 +0100, Torsten Langner wrote: > Hi, > > > > I tried to use C# with 0MQ bu

[zeromq-dev] clrzmq2 Update

2011-02-05 Thread Michael Compton
Hi everyone, Just announcing a small update to the clrzmq binding. Details: ZMQ: Added static poll method (Poller) to Context Added Recv with timeout to Socket Added application wide reference counted Context to socket ZMQExt: Added Serializing and Deserializing Send and Recv extension methods

Re: [zeromq-dev] taskwork.cs

2011-01-15 Thread Michael Compton
In my opinion the format does not reflect how one would use them with C# and clrzmq2, employing using blocks is more idiomatic C# code than explicitly closing connections and terminating contexts. I would personally rather they were kept as is, because it is the intended usage pattern of the under

Re: [zeromq-dev] I've written a completely new C# API for ZeroMQ

2010-12-21 Thread Michael Compton
No problem, no offence taken, though in my personal opinion it's a little counter productive to have many bindings targeting the same language/framework. The reason I created CLRZMQ2 was because I felt the original wasn't idiomatic C# so I could hardly hold it against you, hehe. The reference cou

Re: [zeromq-dev] I've written a completely new C# API for ZeroMQ

2010-12-21 Thread Michael Compton
You do know that clrzmq2 supported all of what you mentioned besides the reference counting. If you had of submitted a patch for clrzmq2 it would have been very welcome. On Tue, 2010-12-21 at 09:00 -0200, Vinicius Chiele wrote: > Great job Alex, your implementation is very clean and simple, I lik

Re: [zeromq-dev] I've written a completely new C# API for ZeroMQ

2010-12-21 Thread Michael Compton
I'm the primary author and maintainer of clrzmq2, it monitor for issue and will endeavour to resolve them when they arise. I monitor the mailing list and drop into #zeromq now and then. I notice NUZQ seems to use lambdas, these were introduced in .NET 3.0, I purposely kept clrzmq2 targeting .net 2

[zeromq-dev] wuserver.cs correction

2010-11-23 Thread Michael Compton
Hi Pieter, Could you please replace the current clrzmq2 example for wuserver.cs, there is an issue, it connects instead of binds. Cheers, Michael // // Weather update server // Binds PUB socket to tcp://*:5556 // Publishes random weather updates // // Author: Michael Compton // Email

Re: [zeromq-dev] ANN clrzmq2 NuGet package

2010-11-20 Thread Michael Compton
On Sat, 2010-11-20 at 23:04 +, Rui Lopes wrote: > Hi, > > On Sat, Nov 20, 2010 at 21:14, Michael Compton > wrote: > > On Sat, 2010-11-20 at 19:37 +, Rui Lopes wrote: > >> I've just created [0] a NuGet package for clrzmq2 [1]. Currently, it > >&g

Re: [zeromq-dev] ANN clrzmq2 NuGet package

2010-11-20 Thread Michael Compton
On Sat, 2010-11-20 at 19:37 +, Rui Lopes wrote: > Hello, > > I've just created [0] a NuGet package for clrzmq2 [1]. Currently, it > bundles libzmq 2.0.10 (x86) and todays version of the clrzmq2 library. > This should make it easy to get ZMQ running on .NET Windows, and > particularly in Visual

Re: [zeromq-dev] psenvpub.cs and psenvsub.cs

2010-11-19 Thread Michael Compton
On Fri, 2010-11-19 at 09:25 -0600, John Unwin wrote: > Martin, > Here are psenvpub & sub - I noticed that the c# ZMQ class does not > seem to have an enum for SendMore unless I misssed something :-) so > I just put the literal 2 in the send call. > > Kind Regards > John > http://www.linkedin.c

Re: [zeromq-dev] System.AccessViolationException with multiple subscriptions

2010-11-17 Thread Michael Compton
On Wed, 2010-11-17 at 10:09 +, T-zex wrote: > Hi, > > I'm getting System.AccessViolationException: Attempted to read or > write protected memory, when subscribing from multiple processes on > the same port. > I've noticed that if delay is introduced between each subscribtion > this exception i

Re: [zeromq-dev] First few guide examples to go with clrzmq2

2010-11-09 Thread Michael Compton
Some more example code, up to chapter 3 of guide. Cheers, Michael On Mon, 2010-11-08 at 22:27 +, Michael Compton wrote: > Here is the first few examples from the 0MQ guide using the new clrzmq2, > up to tasksink2. > > The others should be along in the next couple of days, ju

[zeromq-dev] First few guide examples to go with clrzmq2

2010-11-08 Thread Michael Compton
Here is the first few examples from the 0MQ guide using the new clrzmq2, up to tasksink2. The others should be along in the next couple of days, just wanted to have something there to go with the binding. Cheers, Michael C# Examples.tar.bz2 Description: application/bzip-compressed-tar _

Re: [zeromq-dev] clrzmq proposed revamp

2010-11-07 Thread Michael Compton
On Sun, 2010-11-07 at 17:45 +, Michael Compton wrote: > On Wed, 2010-11-03 at 01:18 +0000, Michael Compton wrote: > > I recently started updating the clrzmq and decided to convert it to a > > more idiomatic design for C#. But I would like to get some feedback on > > the c

Re: [zeromq-dev] clrzmq proposed revamp

2010-11-07 Thread Michael Compton
On Wed, 2010-11-03 at 01:18 +, Michael Compton wrote: > I recently started updating the clrzmq and decided to convert it to a > more idiomatic design for C#. But I would like to get some feedback on > the changes to find out if it would be acceptable to any current or > prosp

[zeromq-dev] clrzmq proposed revamp

2010-11-02 Thread Michael Compton
I recently started updating the clrzmq and decided to convert it to a more idiomatic design for C#. But I would like to get some feedback on the changes to find out if it would be acceptable to any current or prospective users. My fork can be found at http://github.com/Guthur/clrzmq It hasn't rea