IonicWind Software

Aurora Compiler => Software Projects => Topic started by: sapero on July 20, 2007, 07:57:07 AM

Title: Small time server
Post by: sapero on July 20, 2007, 07:57:07 AM
Hello!

I'm very heavily using Microsoft's Virtual PC 2004 on XP home. But here is a problem with time delays on guest systems. For me it is not a problem, I can code something like time server on VPC host system, and time-clients for guest systems.
The first version worked with UDP sockets, but from guest OS "windows 98se" with 128MB memory reserved, the client was unable to send packet to the server - WSAENOBUFS.

The client application every 30s connects to the server and receives the real time, if the received time differs from local system time, the system time is updated.
The differences are from 0 - 6s !

Please hange the IP address in TimeClient.src, to the address where you ran the server, and disable function SetSystemTime if you want only to test this project.
Title: Re: Small time server
Post by: ExMember001 on July 21, 2007, 08:08:37 AM
looks nice thanx for sharing  ;)
just for your info, Virtual pc 2007 is released and free...
maybe this version fix that problem  :)

Title: Re: Small time server
Post by: sapero on July 21, 2007, 11:50:59 AM
Yes, i know, i'm using it on desktop with xp pro