<div dir="ltr"><div dir="ltr"><div>Hi Rafee</div><div><br></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>I transferred the content using ndncat. I tried to do a binary comparison, as there's no way to play the video on the server. However, I think there's some overhead like segment inside the mp4 file transferred by ndn. Other than that, the file transferred successfully. </div></div></blockquote></div></div><div><br></div><div>There's still some problems with logging in <font face="monospace">ndncat</font> command, such as some logs are written to stdout and showing up in output files. I still need to improve in this area.</div><div>For now, remove NDNTS_PKTTRACE=1 from the command line and try again. After that, the output file should binary equal the input file. It should not contain log messages or packet headers.</div><div class="gmail_quote"><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div>When I check <a href="https://nlsr-status.netlify.com/" target="_blank">https://nlsr-status.netlify.com/</a>, I can't find my content at <span style="color:rgb(204,204,204);background-color:rgb(12,12,12);font-family:Consolas,monospace;font-size:12pt;white-space:pre-wrap">/Rafee/my-second-packet/33=%00</span>. However, when I try the command <span style="color:rgb(204,204,204);background-color:rgb(12,12,12);font-family:Consolas,monospace;font-size:12pt;white-space:pre-wrap">ndnpeek -p /Rafee/my-second-packet/33=%00,</span> it produces the following output <span style="color:rgb(204,204,204);background-color:rgb(12,12,12);font-family:Consolas,monospace;font-size:12pt;white-space:pre-wrap">Rafee's first packet</span>. Where is it being served from? Is it being served locally? If yes, how to purge the local cache?</div></div></div></div></blockquote><div><br></div><div><div>The prefix announce would be named /Rafee/my-second-packet, and does not contain the segment number.</div><div>If the producer is not running, the prefix announce disappears within 10 minutes.</div><div><br></div><div>ndnpeek connects to local NFD and may use local cache. ndncat does not use local cache unless you ask it to connect to local NFD.</div><div>To delete Data from local NFD cache, execute <font face="monospace">nfdc cs /Rafee/my-second-packet</font> command.</div><div> <br></div></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div> Also, how to set a lifetime for content?</div></div></div></div></blockquote><div><br></div><div><div>Data packet does not have lifetime limit. It is valid forever and may stay in caches indefinitely. To transfer a different file, choose a different name prefix.</div><div><font face="monospace">ndncat</font> does not fully support version discovery yet, so that the commands I gave do not automatically add version number in the name. I still need to improve in this area.</div></div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div>And more importantly, How do I find this information without bothering you over email?</div></div></div></div></blockquote><div dir="ltr"><div class="gmail_quote"><div><br></div><div>You may also post on Twitter with hashtag <a href="https://twitter.com/hashtag/NDNts?f=live">#NDNts</a> .</div><div><br></div><div>Yours, Junxiao</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Jan 9, 2020 at 1:12 PM Junxiao Shi <<a href="mailto:shijunxiao@email.arizona.edu" target="_blank">shijunxiao@email.arizona.edu</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div><br></div><div class="gmail_quote"><div>If you just want to transfer a video file, you can still use <a href="https://github.com/yoursunny/NDNts/tree/284d3d9f0b6b8c83a746e763d09ab00637f2d5a4/packages/cat" target="_blank">ndncat</a>. <font face="monospace">ndncat put</font> reads from standard input, and <font face="monospace">ndncat get</font> writes to standard output. Thus, you can do something like:</div></div><blockquote style="margin:0px 0px 0px 40px;border:none;padding:0px"><div class="gmail_quote"><div><font face="monospace">NDNTS_KEYCHAIN=$HOME/keychain NDNTS_NFDREG=1 NDNTS_UPLINK=udp://<a href="http://savi.testbed.named-data.net:6363" target="_blank">savi.testbed.named-data.net:6363</a> NDNTS_PKTTRACE=1 ndncat put /Rafee/my-video.mp4 --ver=none  < my-video.mp4</font></div></div><div class="gmail_quote"><div><font face="monospace">NDNTS_UPLINK=udp://<a href="http://savi.testbed.named-data.net:6363" target="_blank">savi.testbed.named-data.net:6363</a> NDNTS_PKTTRACE=1 ndncat get /Rafee/my-video.mp4 --ver=none > my-video.mp4</font></div></div></blockquote><div class="gmail_quote"><div>However, currently the producer would buffer all Data packets in memory, so that you can only transfer small files (500MB is fine on a 8GB laptop, maybe more).<br></div><div></div></div></div></blockquote></div></blockquote></div></div><div> </div></div></div>