Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to get the current time of a computer in a network !
Message
 
 
To
29/07/2003 04:26:56
General information
Forum:
Visual FoxPro
Category:
Client/server
Miscellaneous
Thread ID:
00814446
Message ID:
00814525
Views:
12
This message has been marked as the solution to the initial question of the thread.
>I need to get the current time of a computer in a LAN. I can get several approaches:
>
>1. The easyest: each computer to update a local file/table and where to write a current time at lets say 5 seconds. This requires a time on the application and it's not very safe.
>
>2. Using winsock activex or sockets sdk (in a VC dll) and to transmit the time my this means. This is very clean but takes some time, time that i don't currently have.
>
>3. Use some notwork sdk function that get the remote time of a computer. The bad part is that i don't know such function.
>
>I would be greatful for any sugestions.

Is using Windows NT/2000/XP, you can use FAQ#7903.

HTH.
Larry Miller
MCSD
LWMiller3@verizon.net

Accumulate learning by study, understand what you learn by questioning. -- Mingjiao
Previous
Reply
Map
View

Click here to load this message in the networking platform