[Ndn-interest] NDN_API

Giuseppe Carella gcarella228 at gmail.com
Fri Oct 27 07:17:38 PDT 2017


Good morning community,

can someone explain me the difference between face.putData(data) and
face.send(data)?

I know that face.putData(data) is used to put data which satisfies an
interest packet (and I always thought that it was enough to send a data
packet to the consumer).
In the ndn-js examples I studied, face.send(data) is not used.

So what is the role of face.send(data) compared with face.putData(data)?

Thank you.
Giuseppe.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.cs.ucla.edu/pipermail/ndn-interest/attachments/20171027/bc17124d/attachment-0001.html>


More information about the Ndn-interest mailing list