|
-
March 8th, 2005, 05:17 AM
#1
Getting curret time from NT Time Server
Hi all.
I'm running on Embedded system.
I want to get the current time from an NT Time Server.
I have in the NET this NT and the time server is up and running.
I'm looking for the C/C++ code that do this remotely.
That is, a code the generate a request. Sends it. Receives the answer, and parse it.
Thanks in advance.
--Shay
-
March 9th, 2005, 09:37 AM
#2
Re: Getting curret time from NT Time Server
any idea any body?
Thanks,
--Shay
-
March 9th, 2005, 11:18 AM
#3
Re: Getting curret time from NT Time Server
Uh, anything that would do this would be heavily platform-dependent, as you're talking about network communication. The fact that you're running on an embedded system leaves everyone else to guess what you might be running. Do you have a TCP/IP stack? What OS are you running? Without giving some basic information on your issue, you're not going to get any meaningful help.
-
March 10th, 2005, 08:46 AM
#4
Re: Getting curret time from NT Time Server
Thanks for the note.
I'm using an embedded system with:
+ ansi-C code
+ TCP/IP (UDP)
My problem is not my system. Specifically, I do not know how to connect to the NT server. Which port? Which protocol?
Regards,
--Shay
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|