<html dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" id="owaParaStyle"></style><style type="text/css"></style>
</head>
<body fpstyle="1" ocsi="0">
<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,<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 style="font-family: Times New Roman; color: #000000; font-size: 16px">
<hr tabindex="-1">
<div id="divRpF913626" style="direction: ltr;"><font face="Tahoma" size="2" color="#000000"><b>From:</b> Junxiao Shi [shijunxiao@email.arizona.edu]<br>
<b>Sent:</b> Friday, February 13, 2015 4:37 PM<br>
<b>To:</b> Lee, Jongdeog<br>
<b>Cc:</b> ndn-interest@lists.cs.ucla.edu<br>
<b>Subject:</b> Re: [Ndn-interest] Interest with same name and different exclude?<br>
</font><br>
</div>
<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>
</body>
</html>