[Mini-NDN] [EXT] Timeouts in MiniNDN

Junxiao Shi shijunxiao at email.arizona.edu
Wed Apr 21 13:32:09 PDT 2021


Hi Andre

You can express multiple Interests one after another, and then wait for
responses.
In ndnping, expressInterest is called at a fixed interval, independent from
whether previous Interests were satisfied.

To retrieve files, or more generally, segmented objects, most libraries
have a helper for that.
In ndn-cxx it's called SegmentFetcher.

See also https://yoursunny.com/t/2021/NDN-face/ , "Face in Libraries"
section, for a deep explanation on how the library Face works.

Yours, Junxiao

On Wed, Apr 21, 2021 at 16:24 Andre <adcarneiro at inf.ufrgs.br> wrote:

> *External Email*
>
> Hi Junxiao,
>
>
> that makes sense, thanks for the help so far.
>
>
> I looked into the ndnping example but one doubt remains. What if I want to
> consume large chunks of data, say 10MB or more. In this case, I will need
> to divide that into chunks of 8800 bytes at most, since that is the maximum
> NDN package size allowed. However, using the same mechanism as ndnping or
> consumer/consumer-with-timer, the program would have to wait until one 8800
> B package is received before requesting the next one (using
> face.expressInterest). How can I do that so that I don`t have to wait a
> full round-trip-time before consuming the next part?
>
>
> Best regards,
>
> André
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.cs.ucla.edu/pipermail/mini-ndn/attachments/20210421/a00ff732/attachment.html>


More information about the Mini-NDN mailing list