[ndnSIM] Problem with sequence number

Shahid Md. Asif Iqbal asifcsep at gmail.com
Fri Mar 10 21:20:30 PST 2017


Thanks Junxiao, that sounds nice.

On Sat, Mar 11, 2017 at 11:14 AM, Junxiao Shi <shijunxiao at email.arizona.edu>
wrote:

> Hi Shahid
>
> Forwarder::onIncomingInterest processes not only Interests from your
> consumer, but also Interests from management protocol and routing protocol.
> Those Interests may not have a sequence number at the end, and thus fails
> at that line.
>
> Yours, Junxiao
>
>
> On Mar 10, 2017 10:08 PM, "Shahid Md. Asif Iqbal" <asifcsep at gmail.com>
> wrote:
>
> Thanks Spyridon,
> Then, how the same line is working fine in the consumer.cpp. As, it is the
> consumer who is defining the sequence number.
>
> Sincerely
> Asif
>
>>
>> On Mar 10, 2017, at 3:48 AM, Shahid Md. Asif Iqbal <asifcsep at gmail.com>
>> wrote:
>>
>> Dear All,
>> When I tried to execute the line
>> uint32_t seq = data.getName().at(-1).toSequenceNumber();
>> from the onIncomingData(.......) function of the fowarder.cpp file, it is
>> producing the error 'valid marker is not present or value is not a
>> nonnegative integer'. Can anyone please provide a remedy to the problem?
>>
>> Sincerely
>> Asif
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.cs.ucla.edu/pipermail/ndnsim/attachments/20170311/05429144/attachment.html>


More information about the ndnSIM mailing list