[ntp:questions] Regarding updation of IP addresses in the ntpd.conf file
Brian Utterback
brian.utterback at oracle.com
Wed Jul 18 18:00:52 UTC 2012
The ntpq command can already be used to change the set of servers used
in real time. You can use ntpq to find the current set of servers. Are
you trying to create a program to present a set and allow the users to
choose some subset?
On 07/18/12 09:00, Arpith Nayak wrote:
> Hello to all you mighty programmers, hackers and USENET members,
>
> I am trying to implement an API for ntpd by which the user can specify
> which servers he wants his machine to update time from. The application
> however uses a single .conf file. Are there any limits specified for the
> addresses that can be given in the .conf file? Also could you please help
> me out as to how I can read the IP addresses already present in the .conf
> file and how to update these values based on the user's choice? I'm also a
> novice to programming, so could you please help me out by not making your
> answers too technical?
>
>
> Regards,
>
> Arpith
> _______________________________________________
> questions mailing list
> questions at lists.ntp.org
> http://lists.ntp.org/listinfo/questions
--
blu
Always code as if the guy who ends up maintaining your code will be a
violent psychopath who knows where you live. - Martin Golding
-----------------------------------------------------------------------|
Brian Utterback - Solaris RPE, Oracle Corporation.
Ph:603-262-3916, Em:brian.utterback at oracle.com
More information about the questions
mailing list