<div dir="ltr">Hi Jongdeog<div><br></div><div>If the first reply Data can satisfy both Interests, the second Interest will be satisfied straight from ContentStore and won't be delivered to producer.</div><div><br></div><div>Please ask library API question on <a href="http://www.lists.cs.ucla.edu/mailman/listinfo/ndn-lib">ndn-lib</a> mailing list. Make sure to put the name of library you are using in message Subject.</div><div><br></div><div>Yours, Junxiao</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Feb 16, 2015 at 4:54 PM, Lee, Jongdeog <span dir="ltr"><<a href="mailto:jlee700@illinois.edu" target="_blank">jlee700@illinois.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">




<div>
<div style="direction:ltr;font-family:Tahoma;color:#000000;font-size:10pt">Dear Junxiao,
<div><br>
</div>
<div>  Thanks for the reply.</div>
<div>  I now know the reason. Since those two interest packets have the same name, routers will automatically forward data which is not in "exclude" field. The reason I thought that routers treat them differently is because the producer receives only one interest
 packet in previous example.</div>
<div><br>
</div>
<div>  excludeBefore() function helps to resolve this problem. BTW, how can I get one name component from an exclude. For example, if exclude = (*, A), how can I get A from this exclude? There is no get function in exclude...</div>
<div>
<div><br>
</div>
<div>Best wishes,<span class=""><br>
<div style="font-family:Tahoma;font-size:13px">
<div style="font-family:Tahoma;font-size:13px">
<div>Jongdeog Lee (JD)</div>
<div><br>
</div>
<div>------------------------------------------------</div>
<div><i>Ph.D. Student</i></div>
<div><i>Department of Computer Science</i></div>
<div><i>University of Illinois at Urbana-Champaign</i></div>
</div>
</div>
</span></div>
<div style="font-family:Times New Roman;color:#000000;font-size:16px">
<hr>
<div style="direction:ltr"><font face="Tahoma" color="#000000"><b>From:</b> Junxiao Shi [<a href="mailto:shijunxiao@email.arizona.edu" target="_blank">shijunxiao@email.arizona.edu</a>]<br>
<b>Sent:</b> Friday, February 13, 2015 4:37 PM<br>
<b>To:</b> Lee, Jongdeog<br>
<b>Cc:</b> <a href="mailto:ndn-interest@lists.cs.ucla.edu" target="_blank">ndn-interest@lists.cs.ucla.edu</a><br>
<b>Subject:</b> Re: [Ndn-interest] Interest with same name and different exclude?<br>
</font><br>
</div><div><div class="h5">
<div></div>
<div>
<div dir="ltr">Hi Jongdeog
<div><br>
</div>
<div>A standard-conforming router will forward these two Interests separately.</div>
<div>When a Data packet comes back that can satisfy both Interests, it will be returned to the requester only once.</div>
<div><br>
</div>
<div>If you still have questions, please describe how you test the behavior and what leads to conclude that they are treated as same.</div>
<div><br>
</div>
<div>Yours, Junxiao</div>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">On Fri, Feb 13, 2015 at 3:33 PM, Lee, Jongdeog <span dir="ltr">
<<a href="mailto:jlee700@illinois.edu" target="_blank">jlee700@illinois.edu</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div>
<div style="direction:ltr;font-family:Tahoma;color:#000000;font-size:10pt">Dear all,
<div><br>
</div>
<div>  Suppose that there are two interest packets with the same name & different exclude.</div>
<div>  (Interest A: /prefix/postfix.....exclude=a</div>
<div>   Interest B: /prefix/postfix.....exclude=b)</div>
<div>  Do routers treat them differently or equally?</div>
<div>  I tested the simple code, and it seems they are treated as same.<br>
<div><br>
</div>
<div>Best,<br>
<div style="font-family:Tahoma;font-size:13px">
<div style="font-family:Tahoma;font-size:13px">
<div>Jongdeog Lee (JD)</div>
<div><br>
</div>
<div>------------------------------------------------</div>
<div><i>Ph.D. Student</i></div>
<div><i>Department of Computer Science</i></div>
<div><i>University of Illinois at Urbana-Champaign</i></div>
</div>
</div>
</div>
</div>
</div>
</div>
<br>
_______________________________________________<br>
Ndn-interest mailing list<br>
<a href="mailto:Ndn-interest@lists.cs.ucla.edu" target="_blank">Ndn-interest@lists.cs.ucla.edu</a><br>
<a href="http://www.lists.cs.ucla.edu/mailman/listinfo/ndn-interest" target="_blank">http://www.lists.cs.ucla.edu/mailman/listinfo/ndn-interest</a><br>
<br>
</blockquote>
</div>
<br>
</div>
</div>
</div></div></div>
</div>
</div>
</div>

</blockquote></div><br></div>