<div dir="ltr">FYI, I've fixed<i><u> ndn-ping</u></i> scenario, so now it runs with no problem. I used the latest version of ndnSIM and ns-3, and then imported the latest version of <u><i>ndn-tools</i></u> to <i><u>ndn-ping</u></i> scenario. After compiling the source code, when I tried to run <u style="font-style:italic">ndn-ping</u> I faced the following error:<div><div><br></div><div><i><u><b>error:</b></u></i></div><div><font size="1">msg="Could not set default value for ns3::DropTailQueue::MaxPackets", file=../src/core/model/config.cc, line=787</font></div><div><font size="1">terminate called without an active exception<br></font></div></div><div><br></div><div>I just commented the corresponded line and then ran it again. It works fine, now.</div><div><br></div><div>BTW, thanks for sharing the link of the apps.</div><div><br></div><div>Bests,</div><div><i>- Chavoosh</i></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Mar 19, 2018 at 8:50 AM, Spyridon (Spyros) Mastorakis <span dir="ltr"><<a href="mailto:mastorakis@cs.ucla.edu" target="_blank">mastorakis@cs.ucla.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word">Hi,<div><br></div><div>I will try to update the ndn ping app to the latest API soon.</div><div><br></div><div>In the meantime, there are a couple of other apps you can take a look at:</div><div><br></div><div>ChronoSync: <a href="https://github.com/spirosmastorakis/scenario-ChronoSync" target="_blank">https://github.<wbr>com/spirosmastorakis/scenario-<wbr>ChronoSync</a></div><div><br></div><div>nTorrent (this one is a WIP by 2 masters students at UCLA): <a href="https://github.com/AkshayRaman/scenario-ntorrent" target="_blank">https://github.com/<wbr>AkshayRaman/scenario-ntorrent</a></div><div><br></div><div>Thanks,</div><div><br><div>
<div><div><div><span style="float:none;display:inline!important">Spyridon (Spyros) Mastorakis</span><br><span style="float:none;display:inline!important">Personal Website: </span><a href="http://cs.ucla.edu/~mastorakis/" target="_blank">http://cs.ucla.edu/~<wbr>mastorakis/</a><br><span style="float:none;display:inline!important">Internet Research Laboratory</span><br><span style="float:none;display:inline!important">Computer Science Department</span><br><span style="float:none;display:inline!important">UCLA</span></div><div><br></div></div></div></div><div><div class="h5"><div><blockquote type="cite"><div>On Mar 18, 2018, at 10:27 AM, chavoosh ghasemi <<a href="mailto:chavoosh.ghasemi.off@gmail.com" target="_blank">chavoosh.ghasemi.off@gmail.<wbr>com</a>> wrote:</div><br class="m_3512244624272926351Apple-interchange-newline"><div><div 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">Junxiao,<div><br></div><div>I'm trying to run ndn-ping scenario (<a href="https://github.com/named-data-ndnSIM/scenario-ndn-ping" target="_blank">https://github.com/named-<wbr>data-ndnSIM/scenario-ndn-ping</a>) without changing anything in the source code. I just clone the scenario and tried to compile it and faced the mentioned error. So, do you think I cannot run this scenario as it is? Is there any real application scenario that can run with the current API?</div><div><br></div><div>Bests,</div><div>- Chavoosh</div></div><div class="gmail_extra" 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"><br><div class="gmail_quote">On Sat, Mar 17, 2018 at 4:08 PM, Junxiao Shi<span class="m_3512244624272926351Apple-converted-space"> </span><span dir="ltr"><<a href="mailto:shijunxiao@email.arizona.edu" target="_blank">shijunxiao@email.arizona.<wbr>edu</a>></span><span class="m_3512244624272926351Apple-converted-space"> </span>wrote:<br><blockquote class="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"><div dir="auto">Hi Chavoosh<span><br><div class="gmail_extra" dir="auto"><div class="gmail_quote"><br><blockquote class="m_3512244624272926351m_8449624020783115782quote" 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"><div dir="ltr"><div><div><font size="1">../ndn-tools/tools/ping/client<wbr>/ping.cpp:39:17: error: ‘random’ is not a class, namespace, or enumeration</font></div><div><font size="1">     m_nextSeq = random::generateWord64();</font></div><div><font size="1">                 ^~~~~~</font></div></div></div></blockquote></div></div></span><div dir="auto">Missing include <ndn-cxx/util/random.hpp>.</div><span><div dir="auto"><br></div><div class="gmail_extra" dir="auto"><div class="gmail_quote"><blockquote class="m_3512244624272926351m_8449624020783115782quote" 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"><div dir="ltr"><div><div><font size="1">../ndn-tools/tools/ping/client<wbr>/ping.cpp: In member function ‘void ndn::ping::client::Ping::perfo<wbr>rmPing()’:</font></div><div><font size="1">../ndn-tools/tools/ping/client<wbr>/ping.cpp:68:69: error: no matching function for call to ‘ndn::Face::expressInterest(nd<wbr>n::Interest&, std::_Bind_helper<false, void (ndn::ping::client::Ping::*)(c<wbr>onst ndn::Interest&, ndn::Data&, long unsigned int, const boost::chrono::time_point<ndn:<wbr>:time::steady_clock>&), ndn::ping::client::Ping*, const std::_Placeholder<1>&, const std::_Placeholder<2>&, long unsigned int&, boost::chrono::time_point<ndn:<wbr>:time::steady_clock, boost::chrono::duration<long int, boost::ratio<1l, 1000000000l> > > >::type, std::_Bind_helper<false, void (ndn::ping::client::Ping::*)(c<wbr>onst ndn::Interest&, long unsigned int), ndn::ping::client::Ping*, const std::_Placeholder<1>&, long unsigned int&>::type)’</font></div><div><font size="1">                         <span class="m_3512244624272926351Apple-converted-space"> </span>bind(&Ping::onTimeout, this, _1, m_nextSeq));</font></div><div><font size="1">                                                                     ^</font></div><div><font size="1">In file included from /home/vagrant/ns-dev/scenario-<wbr>ndn-ping/ndn-tools/core/common<wbr>.hpp:61:0,</font></div><div><font size="1">                 from ../ndn-tools/tools/ping/client<wbr>/ping.hpp:26,</font></div><div><font size="1">                 from ../ndn-tools/tools/ping/client<wbr>/ping.cpp:23:</font></div><div><font size="1">/home/vagrant/ns-dev/ns-3/buil<wbr>d/ns3/ndnSIM/ndn-cxx/face.hpp:<wbr>229:3: note: candidate: const ndn::PendingInterestId* ndn::Face::expressInterest(con<wbr>st ndn::Interest&, const DataCallback&, const NackCallback&, const TimeoutCallback&)</font></div><div><font size="1">   expressInterest(const Interest& interest,</font></div><div><font size="1">   ^~~~~~~~~~~~~~~</font></div><div><font size="1">/home/vagrant/ns-dev/ns-3/buil<wbr>d/ns3/ndnSIM/ndn-cxx/face.hpp:<wbr>229:3: note:   candidate expects 4 arguments, 3 provided</font></div></div></div></blockquote></div></div></span><div dir="auto">You are using an expressInterest overload that was deprecated and then removed. Rewrite the code with the current API.</div><div dir="auto"><br></div><div dir="auto">Yours, Junxiao</div></div></blockquote></div><br><br clear="all"><div><br></div>--<span class="m_3512244624272926351Apple-converted-space"> </span><br><div class="m_3512244624272926351gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><span><font color="#888888"><div><div dir="ltr"><div><div dir="ltr"><div dir="ltr" style="color:rgb(34,34,34)"><font color="#888888"><span style="color:rgb(0,0,153);font-family:georgia,serif"><i><b>Chavoosh Ghasemi</b></i><br><span style="color:rgb(153,153,0)"><br><span style="color:rgb(153,0,0)">Ph.D. Student in Computer Networking</span></span></span></font><span style="color:rgb(153,0,0)"><span style="font-family:georgia,serif"> </span><span style="font-family:georgia,serif"><br>University of Arizona - Computer Science Department</span><font size="1"><b><i><br></i></b></font></span></div><div style="color:rgb(34,34,34)"><span style="color:rgb(204,0,0)"><font size="1"><b><i>Address: Gould-Simpson <a href="https://maps.google.com/?q=721B,+1040+E.+4th+Street,+Tucson,+AZ+85721&entry=gmail&source=g">721B,</a> </i></b></font><font size="1"><b><i><a href="https://maps.google.com/?q=721B,+1040+E.+4th+Street,+Tucson,+AZ+85721&entry=gmail&source=g">1040 E. 4th Street,</a><br></i></b></font></span></div><div dir="ltr" style="color:rgb(34,34,34)"><span style="color:rgb(153,0,0)"><font size="1"><b><i><span style="color:rgb(204,0,0)">                 <a href="https://maps.google.com/?q=721B,+1040+E.+4th+Street,+Tucson,+AZ+85721&entry=gmail&source=g">Tucson, AZ 85721</a></span><br><br>"The <i>quieter</i> you become, the <i>more you can hear"</i></i></b></font></span></div></div></div></div></div></font></span></div></div></div></div></div><br></div></blockquote></div><br></div></div></div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><span><font color="#888888"><div><div dir="ltr"><div><div dir="ltr"><div dir="ltr" style="color:rgb(34,34,34)"><font color="#888888"><span style="color:rgb(0,0,153);font-family:georgia,serif"><i style="color:rgb(0,0,0)"><b>Chavoosh Ghasemi</b></i><br><span style="color:rgb(153,153,0)"><br><span style="color:rgb(153,0,0)">Ph.D. Student in Computer Networking</span></span></span></font><span style="color:rgb(153,0,0)"><span style="font-family:georgia,serif"> </span><span style="font-family:georgia,serif"><br>University of Arizona - Computer Science Department</span><font size="1"><b><i><br></i></b></font></span></div><div style="color:rgb(34,34,34)"><span style="color:rgb(204,0,0)"><font size="1"><b><i>Address: Gould-Simpson 721B, </i></b></font><font size="1"><b><i>1040 E. 4th Street,<br></i></b></font></span></div><div dir="ltr" style="color:rgb(34,34,34)"><span style="color:rgb(153,0,0)"><font size="1"><b><i><span style="color:rgb(204,0,0)">                 Tucson, AZ 85721</span><br><br>"The <i>quieter</i> you become, the <i>more you can hear"</i></i></b></font></span></div></div></div></div></div>
</font></span>
</div></div></div></div>
</div>