<?xml version="1.0" encoding="UTF-8"?>
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns="http://purl.org/rss/1.0/" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:syn="http://purl.org/rss/1.0/modules/syndication/" xmlns:admin="http://webns.net/mvcb/">
  <channel rdf:about="http://permalink.gmane.org/gmane.network.zeromq.devel">
    <title>gmane.network.zeromq.devel</title>
    <link>http://permalink.gmane.org/gmane.network.zeromq.devel</link>
    <description/>
    <syn:updatePeriod>hourly</syn:updatePeriod>
    <syn:updateFrequency>1</syn:updateFrequency>
    <syn:updateBase>1901-01-01T00:00+00:00</syn:updateBase>
    <items>
      <rdf:Seq>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.network.zeromq.devel/14840"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.network.zeromq.devel/14839"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.network.zeromq.devel/14838"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.network.zeromq.devel/14837"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.network.zeromq.devel/14836"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.network.zeromq.devel/14835"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.network.zeromq.devel/14834"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.network.zeromq.devel/14833"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.network.zeromq.devel/14832"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.network.zeromq.devel/14831"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.network.zeromq.devel/14830"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.network.zeromq.devel/14829"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.network.zeromq.devel/14828"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.network.zeromq.devel/14827"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.network.zeromq.devel/14826"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.network.zeromq.devel/14825"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.network.zeromq.devel/14824"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.network.zeromq.devel/14823"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.network.zeromq.devel/14822"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.network.zeromq.devel/14821"/>
      </rdf:Seq>
    </items>
    <image rdf:resource="http://gmane.org/img/gmane-25t.png"/>
    <textinput rdf:resource=""/>
  </channel>
  <image rdf:about="http://gmane.org/img/gmane-25t.png">
    <title>Gmane</title>
    <url>http://gmane.org/img/gmane-25t.png</url>
    <link>http://gmane.org</link>
  </image>
  <item rdf:about="http://permalink.gmane.org/gmane.network.zeromq.devel/14840">
    <title>Re: Hints about async pattern</title>
    <link>http://permalink.gmane.org/gmane.network.zeromq.devel/14840</link>
    <description>&lt;pre&gt;Il 23/05/2012 19:19, Marco Trapanese ha scritto:



Perhaps I found a simple solution. I don't know if it's a good practice, 
please feel free to tell me what you think.

The server send a dummy message to test the client. If the client 
acknowledges, the server sends the actual message.

In this way if the client is down only the dummy message is in the 
queue, the clients acks when reconnects but the server will ignore it.

If the connection is lost just after the ack (very unlikely) the client 
will receive the naked message, without the dummy one. So it will reject it.

In other words, I'm going to test the connection a while before send the 
message.

What do you think about?

Marco
&lt;/pre&gt;</description>
    <dc:creator>Marco Trapanese</dc:creator>
    <dc:date>2012-05-23T17:54:37</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.network.zeromq.devel/14839">
    <title>Re: Hints about async pattern</title>
    <link>http://permalink.gmane.org/gmane.network.zeromq.devel/14839</link>
    <description>&lt;pre&gt;Il 09/04/2012 18:42, Chuck Remes ha scritto:

 &amp;gt; to worry about pings and pongs to limit the queue size. You could
 &amp;gt; limit by message count or by byte count depending on how you
 &amp;gt; implemented the flow control.


I'm playing with this solution.
Because my application send commands I must be sure that each message 
sent by the server is received by the client at the moment.
If a client is down it *must not* receive any old message when the 
connection will be recovered.

If I understand correctly, the credit-based flow control mechanism 
replaces the HWM allowing me to set the queue size down to 1 message 
without any related issue.

Thus after each message received, the clients send back the 
TRANSIT_SLICE. When the server doesn't receive the credit anymore stops 
the transmissions.

Well, it's a kind of a req-rep (or ack) protocol.

Anyway, the (unique) message sent after a client disconnection will stay 
in the queue until the client will be reconnected. And the client will 
receive the message, won't it?&lt;/pre&gt;</description>
    <dc:creator>Marco Trapanese</dc:creator>
    <dc:date>2012-05-23T17:19:19</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.network.zeromq.devel/14838">
    <title>Downloads site - removed historic folder</title>
    <link>http://permalink.gmane.org/gmane.network.zeromq.devel/14838</link>
    <description>&lt;pre&gt;Hi all,

We used to move old versions of 0MQ tarballs into /historic.

People rightly complained because this kept breaking things for anyone
linking to a tarball.

I've killed that folder and all past and present releases of 0MQ and
related projects are now simply in the main downloads directory at
http://download.zeromq.org/

-Pieter

Ps. if you were linking to a tarball in /historic sorry, you'll have
one last fix to make.
&lt;/pre&gt;</description>
    <dc:creator>Pieter Hintjens</dc:creator>
    <dc:date>2012-05-23T16:11:05</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.network.zeromq.devel/14837">
    <title>Re: ZeroMQ for Android</title>
    <link>http://permalink.gmane.org/gmane.network.zeromq.devel/14837</link>
    <description>&lt;pre&gt;

Sure. Victor Perron also added some new information yesterday.

-Pieter
&lt;/pre&gt;</description>
    <dc:creator>Pieter Hintjens</dc:creator>
    <dc:date>2012-05-23T14:26:34</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.network.zeromq.devel/14836">
    <title>ZeroMQ for Android</title>
    <link>http://permalink.gmane.org/gmane.network.zeromq.devel/14836</link>
    <description>&lt;pre&gt;I've successfully compiled and tested libzmq v2.2 for Android using
latest ndk (r8). I've used static linking for libuuid and libzmq, so I
have only one native file to copy on the device: libjzmq. I believe it;s
better than compile al libraries to .so because on android all such
files are private to the application and separate files just slows down
startup of the application.

Should I write new description of the build process on android page?

_______________________________________________
zeromq-dev mailing list
zeromq-dev&amp;lt; at &amp;gt;lists.zeromq.org
http://lists.zeromq.org/mailman/listinfo/zeromq-dev
&lt;/pre&gt;</description>
    <dc:creator>Boris Gulay</dc:creator>
    <dc:date>2012-05-23T14:20:19</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.network.zeromq.devel/14835">
    <title>Re: Code-style question</title>
    <link>http://permalink.gmane.org/gmane.network.zeromq.devel/14835</link>
    <description>&lt;pre&gt;Il 23/05/2012 13:32, Andrew Hume ha scritto:



Thanks for you hints!
Marco
&lt;/pre&gt;</description>
    <dc:creator>Marco Trapanese</dc:creator>
    <dc:date>2012-05-23T11:42:49</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.network.zeromq.devel/14834">
    <title>Re: Code-style question</title>
    <link>http://permalink.gmane.org/gmane.network.zeromq.devel/14834</link>
    <description>&lt;pre&gt;as you point out, "commands" are different from "data".

in my world, we are all using identical intel hardware/software, so data is sent as C structs.

commands are different. the time spent parsing/generating commands is almost unmeasurably small,
so i hew to Plan 9 style and simply send blank-delimited words.
i use a very efficient field splitter, and then use strcmp, as in

nf = split(msg, f, " ");
if(nf &amp;lt; 1) return;
if(strcmp(f[0], "func1") == 0){
func1(strtol(f[1], 10, 0), f[2]);
} else if(strcmp(f[0], "func2") == 0){
so on ...
} else {
// rats; complain
}

its not terribly elegant, but it is straightforward and easy to maintain.
and having regular text makes it easier to manually scan and debug.
i have used something like JSON before, but it seemed like a lot of unnecessary work.

On May 22, 2012, at 11:11 AM, Marco Trapanese wrote:



------------------
Andrew Hume  (best -&amp;gt; Telework) +1 623-551-2845
andrew&amp;lt; at &amp;gt;research.att.com  (Work) +1 973-236-2014
AT&amp;amp;T Labs - Research; member of USENIX and&lt;/pre&gt;</description>
    <dc:creator>Andrew Hume</dc:creator>
    <dc:date>2012-05-23T11:32:19</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.network.zeromq.devel/14833">
    <title>Re: Code-style question</title>
    <link>http://permalink.gmane.org/gmane.network.zeromq.devel/14833</link>
    <description>&lt;pre&gt;Il 23/05/2012 09:28, Ivan Pechorin ha scritto:



Ok, thank you a lot.
Marco
&lt;/pre&gt;</description>
    <dc:creator>Marco Trapanese</dc:creator>
    <dc:date>2012-05-23T07:58:15</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.network.zeromq.devel/14832">
    <title>Re: Code-style question</title>
    <link>http://permalink.gmane.org/gmane.network.zeromq.devel/14832</link>
    <description>&lt;pre&gt;2012/5/23 Marco Trapanese &amp;lt;marcotrapanese&amp;lt; at &amp;gt;gmail.com&amp;gt;

When you have to send commands, do you use a fields to represent the

Yes
_______________________________________________
zeromq-dev mailing list
zeromq-dev&amp;lt; at &amp;gt;lists.zeromq.org
http://lists.zeromq.org/mailman/listinfo/zeromq-dev
&lt;/pre&gt;</description>
    <dc:creator>Ivan Pechorin</dc:creator>
    <dc:date>2012-05-23T07:28:11</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.network.zeromq.devel/14831">
    <title>Re: Code-style question</title>
    <link>http://permalink.gmane.org/gmane.network.zeromq.devel/14831</link>
    <description>&lt;pre&gt;Il 23/05/2012 08:33, Ivan Pechorin ha scritto:



Thanks for your answer.
Currently I use something like that for the data (I use the 
serialization utility provided by Qt). I think protobuf is butter 
because is not tied to a specific environment.

I read through the protobuf doc but I see examples about the exchange of 
pure data ( = variables).

When you have to send commands, do you use a fields to represent the 
enum of the desired command and the others the parameters, don't you?

Bye
Marco
&lt;/pre&gt;</description>
    <dc:creator>Marco Trapanese</dc:creator>
    <dc:date>2012-05-23T07:07:39</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.network.zeromq.devel/14830">
    <title>Re: Code-style question</title>
    <link>http://permalink.gmane.org/gmane.network.zeromq.devel/14830</link>
    <description>&lt;pre&gt;2012/5/23 Marco Trapanese &amp;lt;marcotrapanese&amp;lt; at &amp;gt;gmail.com&amp;gt;


 We tend to send protobuf (see http://code.google.com/p/protobuf/)
_______________________________________________
zeromq-dev mailing list
zeromq-dev&amp;lt; at &amp;gt;lists.zeromq.org
http://lists.zeromq.org/mailman/listinfo/zeromq-dev
&lt;/pre&gt;</description>
    <dc:creator>Ivan Pechorin</dc:creator>
    <dc:date>2012-05-23T06:33:03</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.network.zeromq.devel/14829">
    <title>Re: Code-style question</title>
    <link>http://permalink.gmane.org/gmane.network.zeromq.devel/14829</link>
    <description>&lt;pre&gt;Il 22/05/2012 20:54, Pieter Hintjens ha scritto:



Hi Pieter,

I know this is the default answer :)
I read the guide, indeed.

But the examples exchange messages with fun payloads, like these:

- "hello" / "world"
- "I'm ready"
- "ok"
- "We don't want to see this"
- "This is the workload"

or just a counter to simulate some data.

I'm asking what you actually send in your messages.
Strings like above? Integers (enum/#define) like in my example?

Of course, if the answer is still in the guide I admit I don't see it.
Anyway, which example you had in mind when you suggest me to read the 
guide? I'll read it another time.

Thanks again!
Marco
&lt;/pre&gt;</description>
    <dc:creator>Marco Trapanese</dc:creator>
    <dc:date>2012-05-23T05:39:13</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.network.zeromq.devel/14828">
    <title>Re: June meetup / drinkup in Bay Are?</title>
    <link>http://permalink.gmane.org/gmane.network.zeromq.devel/14828</link>
    <description>&lt;pre&gt;I'll be in San Jose for most of the week, but I'll probably hit up our San
Francisco office at some point - I'll stay in touch!

Brian

On Tue, May 22, 2012 at 7:20 PM, Pieter Hintjens &amp;lt;ph&amp;lt; at &amp;gt;imatix.com&amp;gt; wrote:

_______________________________________________
zeromq-dev mailing list
zeromq-dev&amp;lt; at &amp;gt;lists.zeromq.org
http://lists.zeromq.org/mailman/listinfo/zeromq-dev
&lt;/pre&gt;</description>
    <dc:creator>Brian Knox</dc:creator>
    <dc:date>2012-05-23T00:21:43</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.network.zeromq.devel/14827">
    <title>Re: June meetup / drinkup in Bay Are?</title>
    <link>http://permalink.gmane.org/gmane.network.zeromq.devel/14827</link>
    <description>&lt;pre&gt;

No worries, we'll do a drink-up on the 8th, and I'll be there a few
days beforehand. Saturday is just more convenient for a whole-day
meeting.

-Pieter
&lt;/pre&gt;</description>
    <dc:creator>Pieter Hintjens</dc:creator>
    <dc:date>2012-05-22T23:20:00</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.network.zeromq.devel/14826">
    <title>Re: June meetup / drinkup in Bay Are?</title>
    <link>http://permalink.gmane.org/gmane.network.zeromq.devel/14826</link>
    <description>&lt;pre&gt;Oh man, I'll miss you by one day... I fly back on the 9th!  I wonder if I
can change my tickets.

On Tue, May 22, 2012 at 4:58 PM, Pieter Hintjens &amp;lt;ph&amp;lt; at &amp;gt;imatix.com&amp;gt; wrote:

_______________________________________________
zeromq-dev mailing list
zeromq-dev&amp;lt; at &amp;gt;lists.zeromq.org
http://lists.zeromq.org/mailman/listinfo/zeromq-dev
&lt;/pre&gt;</description>
    <dc:creator>Brian Knox</dc:creator>
    <dc:date>2012-05-22T22:28:21</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.network.zeromq.devel/14825">
    <title>June meetup / drinkup in Bay Are?</title>
    <link>http://permalink.gmane.org/gmane.network.zeromq.devel/14825</link>
    <description>&lt;pre&gt;Hi all,

Any interest in a meetup in the Bay Area on the 9th of June?

We have office space downtown SF.

-Pieter
&lt;/pre&gt;</description>
    <dc:creator>Pieter Hintjens</dc:creator>
    <dc:date>2012-05-22T20:58:01</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.network.zeromq.devel/14824">
    <title>Re: Strict aliasing problem</title>
    <link>http://permalink.gmane.org/gmane.network.zeromq.devel/14824</link>
    <description>&lt;pre&gt;Lourens,

Shoot us a pull request then so people can enjoy your lovely work :-)

-Pieter

On Tue, May 22, 2012 at 3:54 PM, Lourens Naudé
&amp;lt;lourens&amp;lt; at &amp;gt;methodmissing.com&amp;gt; wrote:
&lt;/pre&gt;</description>
    <dc:creator>Pieter Hintjens</dc:creator>
    <dc:date>2012-05-22T21:02:30</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.network.zeromq.devel/14823">
    <title>Re: Strict aliasing problem</title>
    <link>http://permalink.gmane.org/gmane.network.zeromq.devel/14823</link>
    <description>&lt;pre&gt;Hi Guys,

Updated again with feedback thus far :

https://github.com/methodmissing/libzmq/compare/monitor-regressions

- Lourens

On Mon, May 21, 2012 at 9:58 PM, Pieter Hintjens &amp;lt;ph&amp;lt; at &amp;gt;imatix.com&amp;gt; wrote:

_______________________________________________
zeromq-dev mailing list
zeromq-dev&amp;lt; at &amp;gt;lists.zeromq.org
http://lists.zeromq.org/mailman/listinfo/zeromq-dev
&lt;/pre&gt;</description>
    <dc:creator>Lourens Naudé</dc:creator>
    <dc:date>2012-05-22T20:54:19</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.network.zeromq.devel/14822">
    <title>Re: Code-style question</title>
    <link>http://permalink.gmane.org/gmane.network.zeromq.devel/14822</link>
    <description>&lt;pre&gt;Marco,

Please read the Guide, it has examples that show how to create and
work with protocols like this.

-
Pieter

On Tue, May 22, 2012 at 1:11 PM, Marco Trapanese
&amp;lt;marcotrapanese&amp;lt; at &amp;gt;gmail.com&amp;gt; wrote:
&lt;/pre&gt;</description>
    <dc:creator>Pieter Hintjens</dc:creator>
    <dc:date>2012-05-22T18:54:57</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.network.zeromq.devel/14821">
    <title>Code-style question</title>
    <link>http://permalink.gmane.org/gmane.network.zeromq.devel/14821</link>
    <description>&lt;pre&gt;Hello,

currently I'm using zmq on several projects to control remote 
applications. In fact, I send 'commands' rather 'data'.

The architecture of the whole software is pretty simple. There are the 
basic functions that do the hard job (my own API). Let's call 'em 
func1(), func2() ...

Then I wrote a raw protocol to call these functions through the zmq 
connection. After a message is received, I check the first part to 
decode the command and the followings to get the parameters (if any). 
Something like this:

void parseMessage() {
// receive the message, get cmd, argc and argv[]

switch (cmd) {
case CMD1:
func1();
break;

case CMD2:
if (argc == 1) func2(argv[0]);
break;
}
}


I wonder how do you implement such an interface. Do you use a method 
like this or there is something more flexible/elegant?

Thanks
Marco
&lt;/pre&gt;</description>
    <dc:creator>Marco Trapanese</dc:creator>
    <dc:date>2012-05-22T18:11:51</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.network.zeromq.devel/14820">
    <title>Re: std::numeric_limits &lt;size_t&gt; invalid</title>
    <link>http://permalink.gmane.org/gmane.network.zeromq.devel/14820</link>
    <description>&lt;pre&gt;
I added two patches to the PGM address resolution Jira issue.  Most
convenient option at the present.

&lt;/pre&gt;</description>
    <dc:creator>Steven McCoy</dc:creator>
    <dc:date>2012-05-22T13:57:38</dc:date>
  </item>
  <textinput rdf:about="http://search.gmane.org/?group=$group=gmane.network.zeromq.devel">
    <title>Search Engine</title>
    <description>Search the mailing list at Gmane</description>
    <name>query</name>
    <link>http://search.gmane.org/?group=$group=gmane.network.zeromq.devel</link>
  </textinput>
</rdf:RDF>

