[ntp:questions] Writing an SNTP script for Runtime Revolution
unruh-spam at physics.ubc.ca
Tue Jul 29 16:18:49 UTC 2008
Mark <nospam at nospam.com> writes:
>In article <q3wjk.2458$%b7.1666 at edtnps82>,
> Unruh <unruh-spam at physics.ubc.ca> wrote:
>> You still have not told us what you are trying to do, and why.
>> Sending out an ntp packet to a remote host and receiving back a reply to
>> determine the time is easy. What do you want to do with that time? If you
>> want to discipline your computer's clock there a loads of issues that need
>> to be thought through and have been thought through in say ntpd. If you
>> just want the remote time for some reason, then it is trivial.
>I just needed something to get started with SNTP. Probably, sending a
>header and getting any kind of reply is sufficient. I have found
>something and now I'll see how far I can stretch it. Thanks for your
SNTP includes the whole protocol of disciplining the local clock as well as
geting the information from the remote server. I have no idea why you want
a clock discipline routine in Revolution. It does not belong there.
But you might want to get the remote time for some reason.
More information about the questions