Re: Re[2]: [twsocket] Multithreaded http...

2005-04-17 Thread Arno Garrels
Wilfried Mestdagh wrote: You can also use GetTickCount, however overrun every 28 day's or so. Sorry for being OT, but that's why I suggested a tiny little helper function also for use in ICS, something like: function CalcTicksAppart(const T1: LongWord): LongWord; var T2 : LongWord; begin

Re: Re[2]: [twsocket] Multithreaded http...

2005-04-17 Thread Francois PIETTE
What will happen when someone will change the system time? Then you are in trouble :( Not if she use GetTickCount which returns the nb of milliseconds since the system is up and running. Restart to zero after approximately 49 days. That is perfectly suitable for timeout determination. --