[ntp:hackers] /dev/ntpsymlink1 -> COM1: for ntpd on Windows
David J Taylor
david-taylor at blueyonder.co.uk
Sun May 31 16:47:35 UTC 2009
Terje Mathisen wrote:
[]
> ntpd device numbers start at 0, while Windows start at 1, and in the
> current code this is correctly mapped.
>
> I.e. 127.127.20.4 maps an NMEA gps receiver connected to COM5, while
> my 18LVC on COM1 would use 127.127.20.0
[]
> OK?
>
> Terje
No, that's confusing, and it is /not/ what the current code does.
I think it should be, for Windows:
127.127.20.0 => invalid
127.127.20.1 => COM1
127.127.20.4 => COM4
perhaps:
127.127.20.256 => sorry, COM256 not supported
and that is what the current code does.
If your C code (I don't find C easy to read) achieves that, fine.
Cheers,
David
--
SatSignal software - quality software written to your requirements
Web: www.satsignal.eu
Email: davidtaylor at writeme.com
More information about the hackers
mailing list