Does the solution need to be implemented in Delphi? An alternate
solution would be to use NTP - setting one machine as the server and the
other as the client. Use the PC with the most accurate system clock as
the server.
Synchronization will be transparent and continuous.
Ken
orca skynet wrote:
> if using a cross cable is a network equivalent, then
> you can use the attached unit.
>
> usage is simple
>
> dummydate := orgetnetworktime('\\targetpc')
> SetPCSystemTime(dummydate);
>
> don't rembember who i should credit for the details, i just put the
> two functions in a unit after a quite intensive search where - as far
> as i remember -'www.torry.net' proved to be very valuable
>
> Lode
> Gent
> Belgium
>
> ----- Original Message ----- From: "Wim Sterns" <[EMAIL PROTECTED]>
> To: "Borland's Delphi Discussion List" <[email protected]>
> Sent: Thursday, June 07, 2007 2:07 PM
> Subject: synchronize time between 2 pc's
>
>
>> Hi,
>>
>> I have two pc's running windows xp that are connected
>> via an utp cross cable.
>> I need to synchronize the clocks of the two pc's
>> How can I do that ?
>> Note : I cannot connect these pc's to the internet
>>
>> Thanks
>> Wim
>>
>>
>>
>> ____________________________________________________________________________________
>>
>>
>> Choose the right car based on your needs. Check out Yahoo! Autos new
>> Car Finder tool.
>> http://autos.yahoo.com/carfinder/
>> _______________________________________________
>> Delphi mailing list -> [email protected]
>> http://www.elists.org/mailman/listinfo/delphi
> ------------------------------------------------------------------------
>
> _______________________________________________
> Delphi mailing list -> [email protected]
> http://www.elists.org/mailman/listinfo/delphi
>
_______________________________________________
Delphi mailing list -> [email protected]
http://www.elists.org/mailman/listinfo/delphi