Project Home
Project Home
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
Forum Topic - NTP daemon : (2 Items)
   
NTP daemon  
Hi 

I want to get the alarm kind of thing to my process when the ntp daemon is failed to synchronize or unable to reach the 
public ntp server.We can query the ntpd using ntpq but i want signal kind of thing when it fails.So i want to go through
 the ntpq source code.I have searched in the net,  I got code only for ntpd.If anybody has different idea to do this one
 please let me know.If anybody has ntpq code please provide me.

Thanks,
-Rahul 
RE: NTP daemon  
The ntpq talks to ntpd through 123/udp. You can get the code through
www.ntp.org. The ntpq code is under ntpq/ directory after you unpack it.
You may modify the code there to meet your need.

Thanks
Weijie


-----Original Message-----
From: RAHUL SABLE [mailto:community-noreply@qnx.com] 
Sent: March 4, 2009 1:14 PM
To: general-networking
Subject: NTP daemon 

Hi 

I want to get the alarm kind of thing to my process when the ntp daemon
is failed to synchronize or unable to reach the public ntp server.We can
query the ntpd using ntpq but i want signal kind of thing when it
fails.So i want to go through the ntpq source code.I have searched in
the net,  I got code only for ntpd.If anybody has different idea to do
this one please let me know.If anybody has ntpq code please provide me.

Thanks,
-Rahul 

_______________________________________________
General
http://community.qnx.com/sf/go/post23505