[ndnSIM] How to get the "size" of interest messages ?
anilj.mailing at gmail.com
Fri Jun 3 11:31:49 PDT 2016
One way to get it using following API.
std::to_string(interest.wireEncode().size()); // This will give you
the string form of the size number.
Same way you can get the size of the data message.
On Fri, Jun 3, 2016 at 3:39 AM, Ali Marandi <ali1marandi at gmail.com> wrote:
> Hi !
> I would like to get the size of outgoing interest messages, i.e., in
> "onOutgoingInterest". Could you please let me know the correct way of doing
> this ?
> ndnSIM mailing list
> ndnSIM at lists.cs.ucla.edu
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the ndnSIM