<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="">Hi Junxiao,<div class=""><br class=""></div><div class="">thank you for your response.<br class=""><div class=""><br class="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><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="Apple-interchange-newline"><div class=""><div class=""><div dir="auto" class="">Hi Spyros</div></div><div class=""><br class=""><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;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><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"></blockquote></div></div>
</div></blockquote></div><br class=""></div></body></html>