<div dir="ltr">Thank you Yuhang and Spyros for your kind reply. :)<br></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature"><div dir="ltr"><div><div dir="ltr">Kind regards,<br><br>Muhammad Faran Majeed,<br>AIT, Thailand<br></div></div></div></div></div>
<br><div class="gmail_quote">On Fri, Jan 22, 2016 at 12:23 AM, Spyridon (Spyros) Mastorakis <span dir="ltr"><<a href="mailto:mastorakis@cs.ucla.edu" target="_blank">mastorakis@cs.ucla.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word">Folks,<div><br></div><div>just to add something to Yuhang’s response:</div><div><br></div><div>You will have to change the value of the following constant variable as well. This variable determines the maximum NDN packet size:</div><div><br></div><div><a href="https://github.com/named-data-ndnSIM/ndn-cxx/blob/ndn-cxx-0.3.4-ndnSIM/src/encoding/tlv.hpp#L39" target="_blank">https://github.com/named-data-ndnSIM/ndn-cxx/blob/ndn-cxx-0.3.4-ndnSIM/src/encoding/tlv.hpp#L39</a></div><div><br></div><div>As Yuhang pointed out, though, sending out data packets of size 1MB is not very practical.</div><span class="HOEnZb"><font color="#888888"><div><br></div></font></span><div><span class="HOEnZb"><font color="#888888"><div>
<div><div><div><span style="float:none;display:inline!important">Spyridon (Spyros) Mastorakis</span><br><span style="float:none;display:inline!important">Personal Website: </span><a href="http://cs.ucla.edu/~mastorakis/" target="_blank">http://cs.ucla.edu/~mastorakis/</a><br><span style="float:none;display:inline!important">Internet Research Laboratory</span><br><span style="float:none;display:inline!important">Computer Science Department</span><br><span style="float:none;display:inline!important">UCLA</span></div><div><span style="float:none;display:inline!important"><br></span></div></div></div><div><br></div></div></font></span><div><div class="h5"><div><blockquote type="cite"><div>On Jan 21, 2016, at 8:33 AM, Yuhang Ye <<a href="mailto:yye@research.ait.ie" target="_blank">yye@research.ait.ie</a>> wrote:</div><br><div><div dir="ltr">Hi <span style="font-size:12.8px">Muhammad,</span><div><span style="font-size:12.8px"><br></span></div><div><span style="font-size:12.8px">The current version of ndnSIM\NFD are running on the PointToPoint device, the default MTU is 1500 (Ethernet), you can use method "SetMtu()" to change it. However, it is impractical to have 1MB "packets" transmission in real world. So you need to segment the chunks into MTU size packets before transmission.</span></div><div><span style="font-size:12.8px"><br></span></div><div><span style="font-size:12.8px">Best Regards</span></div><div><span style="font-size:12.8px">Yuhang</span></div></div><br></div></blockquote></div><br></div></div></div></div></blockquote></div><br></div>