[Ndn-interest] [Nfd-dev] NFD_Data_Packet_MTU

Davide Pesavento davide.pesavento at lip6.fr
Fri Jan 19 09:14:00 PST 2018


I guess it's the C++ producer that prints "error while sending data to
socket (Broken pipe)", right? What happens to NFD then? is it still
running? can you attach NFD's log file?

Davide

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


More information about the Ndn-interest mailing list