[prev in list] [next in list] [prev in thread] [next in thread] 

List:       zeromq-dev
Subject:    Re: [zeromq-dev] zeroMQ version with ZMQ_STREAM_NOTIFY
From:       KIU Shueng Chuan <nixchuan () gmail ! com>
Date:       2015-09-24 10:33:55
Message-ID: CAP2skc-54tRXLtKEwPpx9OPej=RBg5EYuxoyKyT+KTh_-jS9MQ () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


The page you referenced says:

a) <strikeout>ZMQ_STREAM sockets now return an empty message upon client
connect and/or disconnect.</strikeout>
b) This no longer happens unless you set the ZMQ_STREAM_NOTIFY option on
the socket.

"a" is correct going from 4.0.x to 4.1.x so there shouldn't have been a
strikeout.
"b" *was* the case in 4.2 master but not any more.
On Sep 24, 2015 5:53 PM, "Auer, Jens" <jens.auer@cgi.com> wrote:

> That would explain my confusion, because the page
> http://zeromq.org/docs:4-1-upgrade gave me the impression that it has
> been introduced in 4.1.
>
>
>
>
>
> *--*
>
> *Dr. Jens Auer *| CGI | Software Engineer
>
> CGI Deutschland Ltd. & Co. KG
> Rheinstra=C3=9Fe 95 | 64295 Darmstadt | Germany
>
> T: +49 6151 36860 154
>
> jens.auer@cgi.com
>
> Unsere Pflichtangaben gem=C3=A4=C3=9F =C2=A7 35a GmbHG / =C2=A7=C2=A7 161=
, 125a HGB finden Sie
> unter de.cgi.com/pflichtangaben.
>
>
>
> CONFIDENTIALITY NOTICE: Proprietary/Confidential information belonging to
> CGI Group Inc. and its affiliates may be contained in this message. If yo=
u
> are not a recipient indicated or intended in this message (or responsible
> for delivery of this message to such person), or you think for any reason
> that this message may have been addressed to you in error, you may not us=
e
> or copy or deliver this message to anyone else. In such case, you should
> destroy this message and are asked to notify the sender by reply e-mail.
>
>
>
> *From:* zeromq-dev-bounces@lists.zeromq.org [mailto:
> zeromq-dev-bounces@lists.zeromq.org] *On Behalf Of *KIU Shueng Chuan
> *Sent:* 24 September 2015 11:17
> *To:* ZeroMQ development list
> *Subject:* Re: [zeromq-dev] zeroMQ version with ZMQ_STREAM_NOTIFY
>
>
>
> It appeared in 4.2.x
>
> The summary here may be useful:
> https://github.com/zeromq/libzmq/pull/1487
>
> On 24 Sep 2015 16:38, "Auer, Jens" <jens.auer@cgi.com> wrote:
>
> Hi,
>
> I am writing an application which uses ZMQ_STREAM sockets to provide an
> interface to non-zeromq applications on raw sockets. I know that there ha=
s
> been a change in the semantics of ZMQ_STREAM and a new option ZMQ_STREAM_=
NOTIFY
> has been introduced. I want to check the version in my code and set the
> option if necessary. Which version introduced the option? I guess it is
> 4.1.2.
>
> Cheers,
>   Jens
>
>
>
>
>
> *--*
>
> *Dr. Jens Auer *| CGI | Software Engineer
>
> CGI Deutschland Ltd. & Co. KG
> Rheinstra=C3=9Fe 95 | 64295 Darmstadt | Germany
>
> T: +49 6151 36860 154
>
> jens.auer@cgi.com
>
> Unsere Pflichtangaben gem=C3=A4=C3=9F =C2=A7 35a GmbHG / =C2=A7=C2=A7 161=
, 125a HGB finden Sie
> unter de.cgi.com/pflichtangaben.
>
>
>
> CONFIDENTIALITY NOTICE: Proprietary/Confidential information belonging to
> CGI Group Inc. and its affiliates may be contained in this message. If yo=
u
> are not a recipient indicated or intended in this message (or responsible
> for delivery of this message to such person), or you think for any reason
> that this message may have been addressed to you in error, you may not us=
e
> or copy or deliver this message to anyone else. In such case, you should
> destroy this message and are asked to notify the sender by reply e-mail.
>
>
>
>
> _______________________________________________
> zeromq-dev mailing list
> zeromq-dev@lists.zeromq.org
> http://lists.zeromq.org/mailman/listinfo/zeromq-dev
>
> _______________________________________________
> zeromq-dev mailing list
> zeromq-dev@lists.zeromq.org
> http://lists.zeromq.org/mailman/listinfo/zeromq-dev
>
>

[Attachment #5 (text/html)]

<p dir="ltr">The page you referenced says:</p>
<p dir="ltr">a) &lt;strikeout&gt;ZMQ_STREAM sockets now return an empty message upon \
client connect and/or disconnect.&lt;/strikeout&gt;  <br> b) This no longer happens \
unless you set the ZMQ_STREAM_NOTIFY option on the socket.</p> <p \
dir="ltr">&quot;a&quot; is correct going from 4.0.x to 4.1.x so there shouldn&#39;t \
have been a strikeout.<br> &quot;b&quot; *was* the case in 4.2 master but not any \
more.</p> <div class="gmail_quote">On Sep 24, 2015 5:53 PM, &quot;Auer, Jens&quot; \
&lt;<a href="mailto:jens.auer@cgi.com">jens.auer@cgi.com</a>&gt; wrote:<br \
type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 \
.8ex;border-left:1px #ccc solid;padding-left:1ex">







<div lang="EN-GB" link="blue" vlink="purple">
<div>
<p class="MsoNormal"><span \
style="font-size:9.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;;color:#1f497d">That \
would explain my confusion, because the page <a \
href="http://zeromq.org/docs:4-1-upgrade" \
target="_blank">http://zeromq.org/docs:4-1-upgrade</a> gave me the impression that it \
has been introduced in 4.1.<u></u><u></u></span></p> <p class="MsoNormal"><span \
style="font-size:9.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;;color:#1f497d"><u></u> \
<u></u></span></p> <p class="MsoNormal"><span \
style="font-size:9.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;;color:#1f497d"><u></u> \
<u></u></span></p> <p class="MsoNormal" style="text-autospace:none"><b><span \
lang="DE" style="font-size:9.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:black">--<u></u><u></u></span></b></p>
 <p class="MsoNormal" style="text-autospace:none"><b><span lang="DE" \
style="font-size:9.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:black">Dr. \
Jens Auer </span></b><span lang="DE" \
style="font-size:9.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:black">| \
CGI | Software Engineer<u></u><u></u></span></p> <p class="MsoNormal" \
style="text-autospace:none"><span lang="DE" \
style="font-size:9.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:black">CGI \
Deutschland Ltd. &amp; Co. KG</span><span lang="DE" \
style="font-size:9.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:black"><br>
 Rheinstraße 95 | 64295 Darmstadt | Germany<u></u><u></u></span></p>
<p class="MsoNormal" style="text-autospace:none"><span lang="DE" \
style="font-size:9.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:black">T: \
<a href="tel:%2B49%206151%2036860%20154" value="+49615136860154" target="_blank">+49 \
6151 36860 154</a><u></u><u></u></span></p> <p class="MsoNormal" \
style="text-autospace:none"><span lang="EN-US" \
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d"><a \
href="mailto:jens.auer@cgi.com" target="_blank"><span lang="DE" \
style="font-size:9.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:black">jens.auer@cgi.com</span></a></span><span \
lang="DE" style="font-size:9.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:black"><u></u><u></u></span></p>
 <p class="MsoNormal" style="text-autospace:none"><span lang="DE" \
style="font-size:7.5pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:black">Unsere \
Pflichtangaben gemäß  § 35a GmbHG /  § §  161, 125a HGB finden Sie unter \
</span><span lang="EN-US" \
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d"><a \
href="http://de.cgi.com/pflichtangaben" target="_blank"><span lang="DE" \
style="font-size:7.5pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:black">de.cgi.com/pflichtangaben</span></a></span><span \
lang="DE" style="font-size:7.5pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:#1f497d">.</span><span \
lang="DE" style="font-size:7.5pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:black"><u></u><u></u></span></p>
 <p class="MsoNormal" style="text-autospace:none"><span lang="DE" \
style="font-size:10.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:black"><u></u> \
<u></u></span></p> <p class="MsoNormal" style="text-autospace:none"><span \
lang="EN-US" style="font-size:7.5pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:black">CONFIDENTIALITY \
NOTICE: Proprietary/Confidential  information belonging to CGI Group Inc. and its \
affiliates may be contained in this message. If you are not a recipient indicated or \
intended in this message (or responsible for delivery of this message to such \
person), or you think for any reason that this  message may have been addressed to \
you in error, you may not use or copy or deliver this message to anyone else. In such \
case, you should destroy this message and are asked to notify the sender by reply \
e-mail.<u></u><u></u></span></p> <p class="MsoNormal"><span \
style="font-size:9.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;;color:#1f497d"><u></u> \
<u></u></span></p> <div style="border:none;border-left:solid blue 1.5pt;padding:0cm \
0cm 0cm 4.0pt"> <div>
<div style="border:none;border-top:solid #b5c4df 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span lang="EN-US" \
style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;">From:</span></b><span \
lang="EN-US" style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;">
  <a href="mailto:zeromq-dev-bounces@lists.zeromq.org" \
target="_blank">zeromq-dev-bounces@lists.zeromq.org</a> [mailto:<a \
href="mailto:zeromq-dev-bounces@lists.zeromq.org" \
target="_blank">zeromq-dev-bounces@lists.zeromq.org</a>] <b>On Behalf Of </b>KIU \
Shueng Chuan<br> <b>Sent:</b> 24 September 2015 11:17<br>
<b>To:</b> ZeroMQ development list<br>
<b>Subject:</b> Re: [zeromq-dev] zeroMQ version with \
ZMQ_STREAM_NOTIFY<u></u><u></u></span></p> </div>
</div>
<p class="MsoNormal"><u></u>  <u></u></p>
<p>It appeared in 4.2.x<u></u><u></u></p>
<p>The summary here may be useful:<br>
<a href="https://github.com/zeromq/libzmq/pull/1487" \
target="_blank">https://github.com/zeromq/libzmq/pull/1487</a><u></u><u></u></p> \
<div> <p class="MsoNormal">On 24 Sep 2015 16:38, &quot;Auer, Jens&quot; &lt;<a \
href="mailto:jens.auer@cgi.com" target="_blank">jens.auer@cgi.com</a>&gt; \
wrote:<u></u><u></u></p> <div>
<div>
<p class="MsoNormal"><span \
style="font-size:10.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:black">Hi,<br>
 <br>
I am writing an application which uses ZMQ_STREAM sockets to provide an interface to \
non-zeromq applications on raw sockets. I know that there has been a change in the \
semantics of ZMQ_STREAM and a new option</span> <span \
style="font-size:10.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:black">ZMQ_STREAM_NOTIFY \
has been introduced. I want to check the version in my code and set the option if \
necessary. Which version introduced the option? I guess it is 4.1.2.<br> <br>
Cheers,<br>
   Jens</span><u></u><u></u></p>
<p class="MsoNormal"><span \
style="font-size:9.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;">  \
</span><u></u><u></u></p> <p class="MsoNormal"><span \
style="font-size:9.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;">  \
</span><u></u><u></u></p> <p class="MsoNormal" style="text-autospace:none">
<b><span lang="DE" style="font-size:9.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:black">--</span></b><u></u><u></u></p>
 <p class="MsoNormal" style="text-autospace:none">
<b><span lang="DE" style="font-size:9.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:black">Dr. \
Jens Auer </span></b><span lang="DE" \
style="font-size:9.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:black">| \
CGI | Software Engineer</span><u></u><u></u></p> <p class="MsoNormal" \
style="text-autospace:none"> <span lang="DE" \
style="font-size:9.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:black">CGI \
Deutschland Ltd. &amp; Co. KG<br> Rheinstraße 95 | 64295 Darmstadt | \
Germany</span><u></u><u></u></p> <p class="MsoNormal" style="text-autospace:none">
<span lang="DE" style="font-size:9.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:black">T:
 <a href="tel:%2B49%206151%2036860" target="_blank">+49 6151 36860</a> \
154</span><u></u><u></u></p> <p class="MsoNormal" style="text-autospace:none">
<span lang="EN-US"><a href="mailto:jens.auer@cgi.com" target="_blank"><span lang="DE" \
style="font-size:9.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:black">jens.auer@cgi.com</span></a></span><u></u><u></u></p>
 <p class="MsoNormal" style="text-autospace:none">
<span lang="DE" style="font-size:7.5pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:black">Unsere \
Pflichtangaben gemäß  § 35a GmbHG /  § § 161, 125a HGB finden Sie unter \
</span><span lang="EN-US"><a href="http://de.cgi.com/pflichtangaben" \
target="_blank"><span lang="DE" \
style="font-size:7.5pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:black">de.cgi.com/pflichtangaben</span></a></span><span \
lang="DE" style="font-size:7.5pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;">.</span><u></u><u></u></p>
 <p class="MsoNormal" style="text-autospace:none">
<span lang="DE" style="font-size:10.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:black"> \
</span><u></u><u></u></p> <p class="MsoNormal" style="text-autospace:none">
<span lang="EN-US" style="font-size:7.5pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:black">CONFIDENTIALITY \
NOTICE: Proprietary/Confidential information belonging to CGI Group Inc. and its \
affiliates may be contained in this message. If  you are not a recipient indicated or \
intended in this message (or responsible for delivery of this message to such \
person), or you think for any reason that this message may have been addressed to you \
in error, you may not use or copy or deliver this message  to anyone else. In such \
case, you should destroy this message and are asked to notify the sender by reply \
e-mail.</span><u></u><u></u></p> <p class="MsoNormal">  <u></u><u></u></p>
</div>
</div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><br>
_______________________________________________<br>
zeromq-dev mailing list<br>
<a href="mailto:zeromq-dev@lists.zeromq.org" \
target="_blank">zeromq-dev@lists.zeromq.org</a><br> <a \
href="http://lists.zeromq.org/mailman/listinfo/zeromq-dev" \
target="_blank">http://lists.zeromq.org/mailman/listinfo/zeromq-dev</a><u></u><u></u></p>
 </div>
</div>
</div>
</div>

<br>_______________________________________________<br>
zeromq-dev mailing list<br>
<a href="mailto:zeromq-dev@lists.zeromq.org">zeromq-dev@lists.zeromq.org</a><br>
<a href="http://lists.zeromq.org/mailman/listinfo/zeromq-dev" rel="noreferrer" \
target="_blank">http://lists.zeromq.org/mailman/listinfo/zeromq-dev</a><br> \
<br></blockquote></div>



_______________________________________________
zeromq-dev mailing list
zeromq-dev@lists.zeromq.org
http://lists.zeromq.org/mailman/listinfo/zeromq-dev


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic