[ndnSIM] How to print data size?

최원준 wonjunchoi001 at gmail.com
Wed Feb 4 21:55:24 PST 2015


Thanks for your reply.

1.
I still don't know how to use:

  Consumer::OnData(contentObject);
  std::cout << "consumer data for " <<
contentObject->getName().at(-1).toSequenceNumber() << " received" <<
contentObject->size()<< std::endl; ?

2.
The sequnece number is like this, it looks it is not in order, is this
right?

consumer: 4.43139 Data for 90 received
consumer: 4.43987 Data for 92 received
consumer: 4.44835 Data for 94 received
consumer: 4.45683 Data for 96 received
consumer: 4.46531 Data for 98 received

Wonjun, Choi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.cs.ucla.edu/pipermail/ndnsim/attachments/20150205/9d66c530/attachment.html>


More information about the ndnSIM mailing list