<div dir="ltr"><div>For now, I solve my problem already, which workaround by signature field of ContentObject.</div><div><br></div><div>//  @Provider App.</div><div>void OnInterest(...)</div><div>{</div><div>     ndn::ContentObjectHeader data;</div>

<div>     ...</div><div>     data.SetSignature(interest->GetNonce());</div><div>     ...</div><div>}</div><div><br></div><div>// @Consumer App.</div><div>void OnContentObject (...)</div><div>{</div><div>     ...</div>
<div>
     uint32_t reply_nonce = contentObject->GetSignature();</div><div>     ...</div><div>}</div><div><br></div><div style>Regards,</div><div style>Prasertsak U.</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">

On Sun, Jul 28, 2013 at 6:52 PM, Prasertsak U. <span dir="ltr"><<a href="mailto:gniliamg@gmail.com" target="_blank">gniliamg@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<div dir="ltr">Dear All,<div><br></div><div>I'm trying to use nonce value from the reply step to map something in the buffer. </div><div>Unfortunately, I'm not found the way to get nonce value from the reply object in the method "<span style="font-family:Menlo;font-size:11px"><i><u>OnContentObject</u>".</i> </span>Anybody knows the way or some hints for mapping between request packet and the reply packet.  (I mean any headers or fields like a nonce of Interest packet)</div>


<div><br></div><div><b>Overview Diagram for mapping:</b></div><div>(1) Create Interest Packet -----> (2) Keep sender nonce value -----> (3) waiting for reply </div><div>(4) Receive Reply content -----> (*5)<u> Get nonce value from reply objects</u> ------> </div>


<div>(6) mapping with the buffer in step-2 ----> etc.</div><div> <br></div><div><br></div><div>Thank you.</div><div><br></div><div>Regards,</div><div>Prasertsak U.<br></div><div>
<br></div><div>Computing Department, Silpakorn University, Thailand.</div><div><br></div></div>
</blockquote></div><br></div>