[ndnSIM] Problem with sequence number

Junxiao Shi shijunxiao at email.arizona.EDU
Fri Mar 10 21:14:43 PST 2017


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/20170310/59ab14ec/attachment.html>


More information about the ndnSIM mailing list