[ndnSIM] m_receivedDatas

Alex Afanasyev alexander.afanasyev at ucla.edu
Thu Mar 13 16:25:27 PDT 2014


Hi Sandhya,

m_receivedDatas  is a TracedCallback, not a container.  You can connect to this callback and receive notification whenever Data packet is received, but you would need to implement your own logic to connect Interest and Data packets.

Do you need to do this check in real time?  If not, you may be able to use AppDelayTracer (http://ndnsim.net/metric.html#application-level-trace-helper), which tries to do such matching automatically.

---
Alex

On Mar 6, 2014, at 11:11 PM, Sandhya Giri <sandhya.giri18 at gmail.com> wrote:

> Dear sir,
> 
>        I want to check whether a data packet has been received for an interest packet previously sent. So, can you tell me how i can read from m_receivedDatas??
> 
> thanks and regards
> 
> Sandhya
> _______________________________________________
> ndnSIM mailing list
> ndnSIM at lists.cs.ucla.edu
> http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim

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


More information about the ndnSIM mailing list