[ntp:questions] Re: Timestamp Conversion
Terje Mathisen
terje.mathisen at hda.hydro.com
Sat Oct 23 20:02:36 UTC 2004
udhayakumar wrote:
> Hi,
>
> I dont know how to convert a NTPTimestamp to Real time...
>
> I have attached my Program with this mail...
[snip]
>
> iTemp = recv(iSocket_ID,&recvStruc,sizeof(recvStruc),0);
>
> /* I dont know how to proceed next step...*/
Have you considered downloading a tarball from http://www.ntp.org/ ?
The official ntp source code contains _exactly_ what you're looking for,
i.e. you could try looking in ntpq or ntpdc. :-)
Terje
--
- <Terje.Mathisen at hda.hydro.com>
"almost all programming can be viewed as an exercise in caching"
More information about the questions
mailing list