<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Thank you, Ashlesh. I will try it out! <div class=""><br class=""></div><div class="">Spyros<br class=""><div class="">
<div class=""><div class=""><div class=""><br class=""></div></div></div></div><div><blockquote type="cite" class=""><div class="">On Aug 31, 2018, at 11:53 AM, Ashlesh Gawande (agawande) <<a href="mailto:agawande@memphis.edu" class="">agawande@memphis.edu</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div id="divtagdefaultwrapper" dir="ltr" style="font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; font-size: 12pt; font-family: Calibri, Helvetica, sans-serif;" class=""><div style="margin-top: 0px; margin-bottom: 0px;" class=""><a href="https://github.com/named-data/NLSR/blob/057005460ef462dd298126312650999bf22f8425/src/nlsr.cpp#L664" class="OWAAutoLink" id="LPlnk783017" previewremoved="true">https://github.com/named-data/NLSR/blob/057005460ef462dd298126312650999bf22f8425/src/nlsr.cpp#L664</a></div><div style="margin-top: 0px; margin-bottom: 0px;" class=""><br class=""></div><div style="margin-top: 0px; margin-bottom: 0px;" class="">Ashlesh<br class=""></div></div><hr tabindex="-1" style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; display: inline-block; width: 709.515625px;" class=""><span style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class=""></span><div id="divRplyFwdMsg" dir="ltr" style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><font face="Calibri, sans-serif" style="font-size: 11pt;" class=""><b class="">From:</b><span class="Apple-converted-space"> </span>Nfd-dev <<a href="mailto:nfd-dev-bounces@lists.cs.ucla.edu" class="">nfd-dev-bounces@lists.cs.ucla.edu</a>> on behalf of Spyridon (Spyros) Mastorakis <<a href="mailto:mastorakis@cs.ucla.edu" class="">mastorakis@cs.ucla.edu</a>><br class=""><b class="">Sent:</b><span class="Apple-converted-space"> </span>Friday, August 31, 2018 1:50:08 PM<br class=""><b class="">To:</b><span class="Apple-converted-space"> </span>Junxiao Shi<br class=""><b class="">Cc:</b><span class="Apple-converted-space"> </span><<a href="mailto:nfd-dev@lists.cs.ucla.edu" class="">nfd-dev@lists.cs.ucla.edu</a>><br class=""><b class="">Subject:</b><span class="Apple-converted-space"> </span>Re: [Nfd-dev] Fetching data that NFD has overheard</font><div class=""> </div></div><div class="" style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word;">Hi Junxiao,<div class=""><br class=""></div><div class="">thank you for your response.<br class=""><div class=""><br class="x_webkit-block-placeholder"></div><div class=""><div class=""><div class=""><div class="">I tried but the Interest is getting dropped right away, because local fields are not enabled. How can I enable local fields for a unix stream transport? (I guess by default a local application is attached to the local NFD through such a transport, right?)</div><div class=""><br class=""></div><div class="">Thanks,</div><div class="">Spyros</div></div></div></div><br class=""><div class=""><blockquote type="cite" class=""><div class="">On Aug 30, 2018, at 8:54 PM, Junxiao Shi <<a href="mailto:shijunxiao@email.arizona.edu" class="">shijunxiao@email.arizona.edu</a>> wrote:</div><br class="x_Apple-interchange-newline"><div class=""><div class=""><div dir="auto" class="">Hi Spyros</div></div><div class=""><br class=""><div class="x_gmail_quote"><blockquote class="x_gmail_quote" style="margin: 0px 0px 0px 0.8ex; border-left-width: 1px; border-left-style: solid; border-left-color: rgb(204, 204, 204); padding-left: 1ex;"><br class="">The straightforward way would be to add the app's face to the incoming faces of the Interest’s PIT entry, so that NFD forwards the data to the application when it overhears the data transmission. Is there a way to do that (or a way to achieve similar functionality) from the application code without modifying the source code of NFD?</blockquote><div dir="auto" class=""><br class=""></div><div dir="auto" class="">Whenever your app needs to receive a piece of Data, you express an Interest.</div><div dir="auto" class="">If you don’t want the Interest to be transmitted, set NextHopFaceId=255 so it’s forwarded to the NullFace and effectively dropped.</div><div dir="auto" class=""><br class=""></div><div dir="auto" class="">Yours, Junxiao</div></div></div></div></blockquote></div></div></div></div></blockquote></div><br class=""></div></body></html>