[ntp:hackers] Simplifying NTPD
mayer at ntp.org
Tue Jul 1 17:11:04 UTC 2014
On 6/30/2014 10:58 AM, Poul-Henning Kamp wrote:
> In message <rmipphqwjrw.fsf at fnord.ir.bbn.com>, Greg Troxel writes:
>> UDP reports may well be adequate if we decide reliability
>> isn't needed. I guess this can be argued in the protocol design :-)
> The problem with UDP is the complexity it adds to the refclock
> to actually send UDP packets.
> By using the stdout filedescriptor and printf(3) or whatever
> your chosen programming language calls that, we make things
> as simple as they can be -- for everybody involved.
We need to look at the overall design before making an architectural
decision like that. The biggest problem with things like stdout is that
a service has no standard output and you need to redirect it elsewhere.
Worse still some libraries assume that stdout is okay to send log
More information about the hackers