<div dir="ltr"><div><div><div>Good morning Davide,<br><br></div>then I am using a web consumer (using ndn-js) and a C++ producer.</div><div>They are placed in two different hosts.<br></div>This is the configuration:<br><br></div>CONSUMER <----------------------> NFD  (--------------------) NFD <-------------------> PRODUCER<br><div><br></div><div>These are the configuration I set on nfd.conf:</div><div>1) cs_max_packets 0</div><div>2) cs_policy priority_fifo</div><div>3) cs_unsolicited_policy drop-all<br></div><div><br></div><div>The two nfds have been set using the following commands:</div><div>1) Consumer side:<br></div><div>nfdc face create udp4://IP_Address_Producer<br>nfdc route add /app1 udp4://IP_Address_Producer</div><div><br></div><div>2) Producer side:</div><div>nfdc face create udp4://IP_Address_Consumer</div><div><br></div><div>Thank you.</div><div>Giuseppe.<br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">2018-01-18 19:44 GMT+01:00 Davide Pesavento <span dir="ltr"><<a href="mailto:davide.pesavento@lip6.fr" target="_blank">davide.pesavento@lip6.fr</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Then we need more info on what exactly you're doing, your setup, what<br>
application(s) you're using, etc. Is NFD still running after you see<br>
the "broken pipe" error?<br>
<div class="HOEnZb"><div class="h5"><br>
On Thu, Jan 18, 2018 at 12:53 PM, Giuseppe Carella<br>
<<a href="mailto:gcarella228@gmail.com">gcarella228@gmail.com</a>> wrote:<br>
> Hello everybody,<br>
><br>
> Yes, I already compiled all NDN software, but the problems still persists.<br>
> I recompiled again just to be sure, but nothing changes.<br>
> I changed the value of the variable MAX_NDN_PACKET_SIZE inside the file<br>
> ndn-cxx/src/encoding/tlv.hpp, is it right?<br>
><br>
><br>
> Thank you.<br>
> Giuseppe.<br>
><br>
><br>
> 2018-01-18 18:08 GMT+01:00 Davide Pesavento <<a href="mailto:davide.pesavento@lip6.fr">davide.pesavento@lip6.fr</a>>:<br>
>><br>
>> Giuseppe,<br>
>><br>
>> If you change the value of MAX_NDN_PACKET_SIZE, you're on your own.<br>
>><br>
>> That being said, make sure you recompile *all* NDN software, including<br>
>> NFD, every time you change a public constant in the library.<br>
>><br>
>> Davide<br>
>><br>
>> On Thu, Jan 18, 2018 at 11:50 AM, Giuseppe Carella<br>
>> <<a href="mailto:gcarella228@gmail.com">gcarella228@gmail.com</a>> wrote:<br>
>> > Good morning community,<br>
>> ><br>
>> > Could you tell me what is the maximum dimension I can assign to a data<br>
>> > packet?<br>
>> > I made some tests and I tried to change the dimension of the data packet<br>
>> > (I<br>
>> > changed the variable  MAX_NDN_PACKET_SIZE) and it seems that the MTU is<br>
>> > 8800<br>
>> > Byte.<br>
>> ><br>
>> > If I create a data packet having a dimension bigger than 8800 I get the<br>
>> > following error:<br>
>> ><br>
>> > "ERROR: error while sending data to socket (Broken pipe)"<br>
>> ><br>
>> > Is there any solution on that?<br>
>> ><br>
>> > Thank you.<br>
>> > Giuseppe.<br>
>> ><br>
>> > ______________________________<wbr>_________________<br>
>> > Nfd-dev mailing list<br>
>> > <a href="mailto:Nfd-dev@lists.cs.ucla.edu">Nfd-dev@lists.cs.ucla.edu</a><br>
>> > <a href="http://www.lists.cs.ucla.edu/mailman/listinfo/nfd-dev" rel="noreferrer" target="_blank">http://www.lists.cs.ucla.edu/<wbr>mailman/listinfo/nfd-dev</a><br>
>> ><br>
><br>
><br>
</div></div></blockquote></div><br></div>