Discussion:
Does SNTP start working immediately?
(too old to reply)
adolf123
2007-02-16 12:20:05 UTC
Permalink
I have configured the SNTP service as a client with the following values for
relevant registry entres:

Refresh : 1800000 (30 minutes)
Server: <name of time server>
RecoveryRefresh: 180000 (3 minutes)
AutoUpdate: 1

The other registry entries are set to default values.

My question is: Does the first time sync occur as soon as I send a refresh
IOCTL to the service after setting the registry values? Or does it occur
after 30 minutes?

I need to design this client, but don't yet have a server up and running,
which is why I want to know this.

thanks in advance,
John Spaith [MS]
2007-02-16 17:42:07 UTC
Permalink
Sending an IOCTL_SERVICE_REFRESH to SNTP service will cause it to
immediately re-perform the query. We assume if you're sending it this then
you'd want it to re-read and apply the registry settings immediately.

Assuming you have Platform Builder, you can install the SNTP source via the
shared-source option. It lives in <Private>\private\servers\timesvc2\sntp.
Feel free to use newsgroups of course, but for some questions it may be
faster for you to just look at the code.
--
John Spaith
Development Lead, Windows CE
Microsoft Corporation

Check out the CE Networking Team Blog at http://blogs.msdn.com/cenet/.

This posting is provided "AS IS" with no warranties, and confers no rights.
You assume all risk for your use. © 2006 Microsoft Corporation. All rights
reserved.
Post by adolf123
I have configured the SNTP service as a client with the following values for
Refresh : 1800000 (30 minutes)
Server: <name of time server>
RecoveryRefresh: 180000 (3 minutes)
AutoUpdate: 1
The other registry entries are set to default values.
My question is: Does the first time sync occur as soon as I send a refresh
IOCTL to the service after setting the registry values? Or does it occur
after 30 minutes?
I need to design this client, but don't yet have a server up and running,
which is why I want to know this.
thanks in advance,
k***@gmail.com
2014-07-06 06:03:23 UTC
Permalink
Post by John Spaith [MS]
Sending an IOCTL_SERVICE_REFRESH to SNTP service will cause it to
immediately re-perform the query. We assume if you're sending it this then
you'd want it to re-read and apply the registry settings immediately.
Assuming you have Platform Builder, you can install the SNTP source via the
shared-source option. It lives in <Private>\private\servers\timesvc2\sntp.
Feel free to use newsgroups of course, but for some questions it may be
faster for you to just look at the code.
--
John Spaith
Development Lead, Windows CE
Microsoft Corporation
Check out the CE Networking Team Blog at http://blogs.msdn.com/cenet/.
This posting is provided "AS IS" with no warranties, and confers no rights.
You assume all risk for your use. © 2006 Microsoft Corporation. All rights
reserved.
Post by adolf123
I have configured the SNTP service as a client with the following values for
Refresh : 1800000 (30 minutes)
Server: <name of time server>
RecoveryRefresh: 180000 (3 minutes)
AutoUpdate: 1
The other registry entries are set to default values.
My question is: Does the first time sync occur as soon as I send a refresh
IOCTL to the service after setting the registry values? Or does it occur
after 30 minutes?
I need to design this client, but don't yet have a server up and running,
which is why I want to know this.
thanks in advance,
Sir,
We are using SNTP in Windows CE 7. But the minimum time it is taking to synchronize with server is 10min. So is it a constraint in Windows CE7 or is there any way to overcome it.
Please provide some steps to overcome this issue.

Thanking you,
Kranti.

Continue reading on narkive:
Search results for 'Does SNTP start working immediately?' (Questions and Answers)
3
replies
DO less side effects mean safer drug?
started 2012-10-11 05:16:10 UTC
mental health
Loading...