[ndnSIM] Question on NDN-SImple-wifi.cpp example

Spyridon (Spyros) Mastorakis mastorakis at CS.UCLA.EDU
Wed Nov 16 09:15:10 PST 2016


you are trying to access the size of NFD’s CS. If you are using the “old” CS of ndnSIM, then it makes sense that the size of NFD’s CS will be 0, since it is not being used.

Hope that this helps,

Spyridon (Spyros) Mastorakis
Personal Website: http://cs.ucla.edu/~mastorakis/ <http://cs.ucla.edu/~mastorakis/>
Internet Research Laboratory
Computer Science Department

> On Nov 16, 2016, at 12:03 AM, Hwang In Chan <neogeoss1 at gmail.com> wrote:
> Dear NDN researchers,
> I am now making a scenario script based on ndn-simple-wifi.cpp file because my scenario is about
> simulating NDN wireless nodes.
> When I run it with visualizer, it runs but there is no trace of any data packet in CS.
> When I use the code below,
> auto csSize = (*node)->GetObject<ndn::L3Protocol>()->getForwarder()->getCs().size();
> csSize is always zero.
> I am curious why there is not any example of NDN wireless explained in NDN SIM website.
> Does NDNSiM support wireless environment?
> Best wishes,
> inchan Hwang

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.cs.ucla.edu/pipermail/ndnsim/attachments/20161116/340e6a30/attachment-0001.html>

More information about the ndnSIM mailing list