[ndnSIM] Problem with sequence number

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


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 Fri, Mar 10, 2017 at 11:25 PM, Spyridon (Spyros) Mastorakis <
mastorakis at cs.ucla.edu> wrote:

> Hi,
>
> this means that the last name component of your data packet is not a
> sequence number (or in any case a valid sequence number).
>
> Thanks,
>
> Spyridon (Spyros) Mastorakis
> Personal Website: http://cs.ucla.edu/~mastorakis/
> Internet Research Laboratory
> Computer Science Department
> UCLA
>
> 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/430d7a2f/attachment.html>


More information about the ndnSIM mailing list