Franz wrote:
Hej,
I know the NTP server of the univerity now. The problem I asked for is
maybe not realizable right now and more about theoretical nature....
For background: I am writing a C++ program, which should later be
ported to Win CE and run on Pocket PCs. So if I walk around and do not
know that my university network blocks UDP port 123 and want by default
use some external NTP server. Therefore it would be nice to have a way
to check if port 123 is blocked from a network and furthermore get the
NTP server of the local network.
But this probably has be filed in "future work" ;)
Thanks for all the help!
Regards, Franz
If there is a DHCP server available, you can request the address of an
NTP server. See RFC 2131 and section 8.3 of RFC 2132. There is no
guarantee that the server will have the address of a server to give you
but it is possible to ask.
_______________________________________________
questions mailing list
[email protected]
https://lists.ntp.isc.org/mailman/listinfo/questions