I fpund the problem: when OnSocketError is assigned, the problem occurs. As 
a workaround, I removed OnSocketError handler and check for errors in 
OnRequestDone.

Thank you!

SZ

----- Original Message ----- 
From: "Arno Garrels" <[EMAIL PROTECTED]>
To: "ICS support mailing" <twsocket@elists.org>
Sent: Friday, December 02, 2005 12:59 PM
Subject: Re: [twsocket] Problem with THttpCli


> Fastream Technologies wrote:
>> The threading design is the same as NFServer and tested well. The problem
>> is in THttpCli: I want to download with no files on local computer to be
>> written to and no TStream as well. Could you try that? Just assign nil to
>> FRcvsStream and give a dummy filename in a non-existing directory. I 
>> would
>> provide an example but as you know I use C++.
>
> I can read C++ just fine. Please provide a very small sample application,
> that I can translate.
>
>
>> Best Regards,
>>
>> SubZ
>>
>> ----- Original Message -----
>> From: "Arno Garrels" <[EMAIL PROTECTED]>
>> To: "ICS support mailing" <twsocket@elists.org>
>> Sent: Friday, December 02, 2005 11:46 AM
>> Subject: Re: [twsocket] Problem with THttpCli
>>
>>
>>>> FYI: In our dersign, there is the serverThread for listening and there
>>>> are 2 threads per CPU clientThreads.
>>>
>>> Now your thread design looks totaly different.
>>> I suggest that you take a look at the new multi threaded TWSocketServer,
>>> available in latest beta release and the SSL distribution.
>>> It shows how to Attach/Detach threads and how to synchronize the 
>>> critical
>>> things.
>>>
>>>
>>> ---
>>> Arno Garrels [TeamICS]
>>> http://www.overbyte.be/eng/overbyte/teamics.html
>>>
>>>
>>>
>>> --
>>> To unsubscribe or change your settings for TWSocket mailing list
>>> please goto http://www.elists.org/mailman/listinfo/twsocket
>>> Visit our website at http://www.overbyte.be
> -- 
> To unsubscribe or change your settings for TWSocket mailing list
> please goto http://www.elists.org/mailman/listinfo/twsocket
> Visit our website at http://www.overbyte.be 

-- 
To unsubscribe or change your settings for TWSocket mailing list
please goto http://www.elists.org/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be

Reply via email to