lwip-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[lwip-devel] [patch #9523] MDNS responder should reply after a random ti


From: David GIRAULT
Subject: [lwip-devel] [patch #9523] MDNS responder should reply after a random timeout
Date: Tue, 16 Jan 2018 11:24:20 -0500 (EST)
User-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/63.0.3239.132 Safari/537.36

Follow-up Comment #15, patch #9523 (project lwip):

I'm not sure that assuming different devices will have unsynchronized periodic
timer will be ok. If sys_now() implementation is base on gettimeofday() for
example (well I know, this is a bad thing), and this one in keep sync using
NTP, this result in periodic timer sync across all devices.

Personally, I prefers a TRUE random time against request reception. A faster
on-demand tick (5ms) with a random counter may do the job anyway.


    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/patch/?9523>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.nongnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]