<html dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" id="owaParaStyle"></style>
</head>
<body style="word-wrap:break-word" fpstyle="1" ocsi="0">
<div style="direction: ltr;font-family: Tahoma;color: #000000;font-size: 10pt;">Hi Alex,
<div><br>
</div>
<div>Thank you. What do you mean by "hack BestRoute strategy"?  </div>
<div><br>
</div>
<div>In my code, I tried to create a secondary face for broadcasting, which is assigned a common prefix, for example "ndn/broadcasting", the the default face "m_face" is assigned specific prefix for the content. The node is able to receive the broadcasting
 interest, and content interest, but when the node tried to send out content, it crashed. I'm not sure where was wrong. </div>
<div>
<div>
<div style="font-family:Tahoma; font-size:13px">
<div class="BodyFragment"><font size="2"><span style="font-size:10pt">
<div class="PlainText"><br>
</div>
<div class="PlainText">Thanks,</div>
<div class="PlainText"><br>
</div>
<div class="PlainText"><span class="Apple-tab-span" style="white-space:pre"></span>-- Xuan</div>
<div class="PlainText"><br>
</div>
<div class="PlainText"><br>
</div>
</span></font></div>
</div>
</div>
<div style="font-family: Times New Roman; color: #000000; font-size: 16px">
<hr tabindex="-1">
<div id="divRpF464520" style="direction: ltr;"><font face="Tahoma" size="2" color="#000000"><b>From:</b> Alexander Afanasyev [cawka1@gmail.com] on behalf of Alex Afanasyev [alexander.afanasyev@ucla.edu]<br>
<b>Sent:</b> Monday, September 09, 2013 12:25 PM<br>
<b>To:</b> Liu, Xuan (UMKC-Student)<br>
<b>Cc:</b> ndnsim@lists.cs.ucla.edu<br>
<b>Subject:</b> Re: [ndnSIM] how to set the broadcasting prefix<br>
</font><br>
</div>
<div></div>
<div>Hi Xuan,
<div><br>
</div>
<div>As of right now, the type of Interest processing does not depend on specific prefix and is fully defined by the forwarding strategy.  If you select Flooding, then for all prefixes that have multiple faces in FIB, you going to have broadcast behavior.  In
 our simulation we actually used this strategy, assuming that chat data is piggybacked along the SyncData.</div>
<div><br>
</div>
<div>It is relatively simple to enable different processing for different prefixes, but this would involve creating a new strategy, which combines Flooding and BestRoute behaviors, depending on FIB prefix.  As a shortcut, you can simply hack the BestRoute strategy
 for that.</div>
<div><br>
</div>
<div>---</div>
<div>Alex</div>
<div><br>
<div>
<div>On Sep 7, 2013, at 6:10 PM, "Liu, Xuan (UMKC-Student)" <<a href="mailto:xuan.liu@mail.umkc.edu" target="_blank">xuan.liu@mail.umkc.edu</a>> wrote:</div>
<br class="Apple-interchange-newline">
<blockquote type="cite">
<div style="font-family:Menlo; font-size:medium; font-style:normal; font-variant:normal; font-weight:normal; letter-spacing:normal; line-height:normal; orphans:2; text-indent:0px; text-transform:none; white-space:normal; widows:2; word-spacing:0px">
<div style="direction:ltr; font-family:Tahoma; font-size:10pt">Hi Alex,
<div><br>
</div>
<div>I have a question on how to set the prefix for broadcasting in ndnSIM. For example, my application is generating two types of interest, one type is sent out in broadcasting way, and the other type has a specific prefix. Do I need to create two fib entry
 at the application level? Or shall I create another face at the application level, and assign the broadcasting prefix to this second face? </div>
<div><br>
</div>
<div>In your chronoschat simulation, did you use /ndn/broadcasting/ as the prefix for broadcasting? Or did you use same prefix for all participant nodes?<br>
<div><br>
<div style="font-family:Tahoma; font-size:13px">
<div class="BodyFragment"><font size="2"><span style="font-size:10pt">
<div class="PlainText"><br>
</div>
<div class="PlainText">Thanks,</div>
<div class="PlainText"><br>
</div>
<div class="PlainText"><span class="Apple-tab-span" style="white-space:pre"></span>-- Xuan</div>
</span></font></div>
</div>
</div>
</div>
</div>
</div>
</blockquote>
</div>
<br>
</div>
</div>
</div>
</div>
</div>
</body>
</html>