[Mini-NDN] [EXT] Sends next request after previously requested files have been received

Ritu Bordoloi bordoloi.ritu1988 at gmail.com
Tue Sep 22 23:53:59 PDT 2020


 Dear Junxiao,

I have got the following messages in the stderr file:

ndndump: listening on d-eth0, link-type EN10MB (Ethernet)
ndndump: using pcap filter: (ether proto 0x8624) or (tcp port 6363) or (udp
port 6363) or (udp port 56363)

Are these any kind of errors?

Thank you for your help.

Kind regards,
Ritu

On Wed, Sep 23, 2020 at 1:26 PM Junxiao Shi <shijunxiao at email.arizona.edu>
wrote:

> Hi Ritu
>
> As we can see in frame #8, FinalBlockId is %00%12G, which means the file
> has 4679 segments.
> The last Interest of this file is frame #196 requesting segment %00%15.
> The last Data received is frame #200 for segment %00%20.
> Retrieval of the first file never finished.
>
> This means ndncatchunks of the first file returned an error, so that the
> bash script terminates and does not continue onto the next command.
> As for why ndncatchunks failed, you can see that from the standard error.
> It's either displayed on the screen, or you can redirect standard error to
> a file and look at the that file.
>
> Yours, Junxiao
>
> On Tue, Sep 22, 2020 at 8:41 PM Ritu Bordoloi <bordoloi.ritu1988 at gmail.com>
> wrote:
>
>> *External Email*
>> Dear Junxiao,
>>
>> Thank you again for your suggestion. Indeed my code was running multiple
>> instances of the bash script. I resolved this issue. However, now I can
>> see that only the first file has been successfully received by the host
>> even though my bash script was requesting four files.
>>
>> Can you please tell me why the other 3 files have not been received by
>> the host? I think I am still doing something wrong here.
>>
>> I am invoking my bash script using the following command:
>>
>> ndn.net.hosts[3].cmd('/home/ritu/Downloads/mini-ndn/examples/nlsr/./mytest_4_nodes
>> {} {} {} {} &'.format(Reqfile1, Reqfile2, Reqfile3, Reqfile4))
>>
>> where Reqfile1... 4 are the files that have been requested by the host d.
>>
>> I am again appending my bash script below
>> #!/bin/bash
>> set -e
>> ndncatchunks /ndn/a-site/a/$1
>> ndncatchunks /ndn/a-site/a/$2
>> ndncatchunks /ndn/a-site/a/$3
>> ndncatchunks /ndn/a-site/a/$4
>>
>> Further I am also attaching pcap and dump files for your reference.
>> Please do let me know your suggestions. That will be very helpful.
>>
>> Thank you.
>>
>> Kind regards,
>> Ritu
>>
>>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.cs.ucla.edu/pipermail/mini-ndn/attachments/20200923/7ed62ad9/attachment.html>


More information about the Mini-NDN mailing list