[ndnSIM] ndn-conumer.cpp application

MD TAUSHIF md.taushif1614 at gmail.com
Tue Dec 20 22:33:47 PST 2016


Hi all,

I am new to ndnsim. I was working with the example
*ndn-tree-tracers.cpp*. While
running the simulation example (ndn-tree-tracers.cpp) I got some error
which I am unable to resolve. I used different Consumer application instead
of *ConsumerCbr* which resulted in following error.

/*
Waf: Entering directory `/home/aa/ndnsim/ns-3/build'
[1483/2861] Compiling src/ndnSIM/examples/new.cpp
[2791/2861] Linking build/src/ndnSIM/examples/ns3-dev-new-debug
Waf: Leaving directory `/home/aa/ndnsim/ns-3/build'
Build commands will be stored in build/compile_commands.json
'build' finished successfully (10.496s)
msg="Requested constructor for ns3::ndn::Consumer but it does not have
one.", file=../src/core/model/type-id.cc, line=547
terminate called without an active exception
Command
['/home/aa/ndnsim/ns-3/build/src/ndnSIM/examples/ns3-dev-new-debug']
terminated with signal SIGIOT. Run it under a debugger to get more
information (./waf --run <program> --command-template="gdb --args %s
<args>").
*/


I replaced following line

 ndn::AppHelper consumerHelper("ns3::ndn::ConsumerCbr");
With
ndn::AppHelper consumerHelper("ns3::ndn::Consumer");

Please guide me about how I can use the *ndn-conumer.cpp* as I wanted to
make changes in Interest Packet and its following Data packet for it using
this ndn-conumer.cpp?

Regards,

 MD
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.cs.ucla.edu/pipermail/ndnsim/attachments/20161221/f821c03b/attachment.html>


More information about the ndnSIM mailing list