Francois PIETTE wrote:
>>>>>> I've got it working without a timer by calling
>>>>>> MsgWaitForMultipleObjects to defer subsequent call of Resume
>>>>>> after Pause, however that seems to be a dangerous game. What do
>>>>>> you thing?
>>>>> Not good, the message pump must be called.
>>>> Do you think it was possible without using a timer? I don't think
>>>> so. 
>>> Yes, it is possible and even easy !
>>> You create a thread which sleeps the required time and then post a
>>> message. This would be much like a TTimer without an actual TTimer.
>> OK, but was it cheaper than TIcsTime?
> I have not TIcsTime code in my head...

Sorry typo, should read "TIcsTimer". It works like TTimer however does 
not create a window to receive WM_TIMER messages but uses an existing
ICS-window instead.
I'm still not sure what was the best implementation in TCustomWSocket.
Anything speaking against your timer-based code in HttpProt.pas? 
Since W2K there are plenty of timers possible. 

Arno Garrels

To unsubscribe or change your settings for TWSocket mailing list
please goto
Visit our website at

Reply via email to