Implement SNTP Protocal in compact framework

  • Thread starter Thread starter Manish Bafna
  • Start date Start date
M

Manish Bafna

Hi All,
The Network Time Protocol (NTP) and its simplified form (SNTP) are widely
used to synchronize network resources, due to their simplicity and
effectiveness. We have done this in Windows application and it was easy to do
in windows application because there is in-built windows time service.That
is synchronize your PC's clock with that of a time server.
Here we want to do same thing in Compact Framework.In hand-held devices
there is nothing like windows time service.On internet we are not able to
find anything useful.I would highly appreciate if somebody can give
idea/insights in this regard.
Thanks in advance for replying(as always)
 
and Windows CE 5.0 and higher have built-in SNTP services that you can use
to sync with time servers. If you construct the device, that's probably the
way to go.

Paul T.
 
We're on WM2K3, and we just wrote a little webservice that returns our domain
controller's time in UTC (the domain controller is in sync with our
mainframe). We have a "service" running on the device that is responsible
for multiple things, including periodically calling this webservice and
updating the time if necessary.
 
Hi Paul,
First of all thanks for giving such a reliable answer.I would be grateful to
you if you can elaborate more on in-built SNTP services in windows ce 5.0.I
would appreciate if you can some code snippets for using in-built SNTP
services in Windows CE 5.0 or some links/url showing how to use in-bulit sntp
services in Windows ce 5.0.
Thanks in advance for replying(as always)
--
Hope this helps.
Thanks and Regards.
Manish Bafna.
MCP and MCTS.
 
Hi,
Also can we control SNTP Services in windows CE programatically at
runtime.Suppose on button click i want to synchronize my clock with time
servers.Is this possible with in-built SNTP Services in windows ce 5.0.?
Thanks and Regards.
Manish Bafna.
MCP and MCTS.
 
Back
Top