I downloaded the code and rebuilt it with .NET 2003. On my Win2000 machine, it runs fine. But my laptop, running XP Prof, gets a SocketException with an error that says "An existing connection was forcibly closed by the remote host". I debugged into it and it's on a call to UpdClient.Receive(). Does this make any sense? I can ping the server so I know I'm connecting.
----- Tim Wilson wrote: ----
You might find the link below useful
http://www.codeproject.com/csharp/ntpclient.asp?df=100&forumid=2012&exp=0&select=64486
--
Tim Wilso
..Net Compact Framework MV
{cf147fdf-893d-4a88-b258-22f68a3dbc6a
sandman said:
We have an Windows application that is date/time sensitive and we need t
get the real time of day somewhere. We can't rely on the user's compute
time (DateTime.Now) because they could change it. The network administrato
suggested Network Time Protocol (NTP). Also he's going to look int
creating our own internal NTP server. With that in mind, does C#/WinForm
support something like this? Are there any other ways to get the time fro
a consistent source