<div dir="ltr"><div><div><div><div>Dear Alex,<br><br></div>I would like to try an idea for responding whenever Data packet received as in the scenario.<br><br><div>Data Packet flow ::Consumer <-------R1<-----------R2<--------------Producer<br>
</div>ACK-Data ::           Consumer ------->R1----------->R2-------------->Producer<br><br></div><div>For this purpose, I need to create a new packet, just a name, ACK-Data.<br></div><div>As my understanding, it is similar like nack and I try to implement this packet as an extension of nack.<br>
</div><div>Firstly, I prepared it as nack type and then I tried with following code<br></div><div><br>OnData (Ptr<Face>face,<br>                Ptr<Data>data)<br>{<br>         Ptr<Name> name = Create<Name>(data->GetName ());<br>
<br>        Ptr<Interest> ack= Create <Interest>();<br><br>        ack->SetNack (Interest::ACK_Data);<br> <br>        ack->SetName (name);<br> <br>        face->SendInterest (ack);<br>}<br><br></div><div>
When running, it  doesn't receive the reply packet.<br></div><div>I am not confidence about the coding and could you give me a kindly guidance?<br></div><div>Thanks you <br><br></div><div>Sincerely yours<br></div><div>
TUN<br></div><div><br></div> <br></div><br></div></div>