Hey guys, I got no answer/help from the list but
another friend help me to fix it and I want to share the solution.
==
Dear Francois Piette,
I need to accept cookies, and my old code that I got from your forum was:
(my old code)
with HttpC
Arno
I use multiple threads to read the data from sockets, I actually have a
thread pool that process data.
This is my current code for OnDataAvailable from sockets:
procedure TTCPSocketThread.HandleOnSocketDataAvailable(Sender: TObject;
ErrCode: Word);
begin
// We can´t proceed on errors
Arno Garrels wrote:
> Éric Fleming Bonilha wrote:
>> I know this is by design, but I believe that is why you have added
>> wsoNoReceiveLoop so we don´t have to receive data in
>> OnDataAvailable...
>>
>> By reading the socket using OnDataAvailable event I reached a
>> bottleneck, my software wasn´
Éric Fleming Bonilha wrote:
> I know this is by design, but I believe that is why you have added
> wsoNoReceiveLoop so we don´t have to receive data in
> OnDataAvailable...
>
> By reading the socket using OnDataAvailable event I reached a
> bottleneck, my software wasn´t being able to process ove
I know this is by design, but I believe that is why you have added
wsoNoReceiveLoop so we don´t have to receive data in OnDataAvailable...
By reading the socket using OnDataAvailable event I reached a bottleneck, my
software wasn´t being able to process over 150mbits of incomming data
because
Thanks :)
I will check it out.
-daniel
-Original Message-
From: Francois PIETTE
Sent: Friday, July 01, 2011 11:47 AM
To: ICS support mailing
Subject: Re: [twsocket] Memory leak in ICS Client socket
I am using TSSLWSocket and I would like to know why I get memory leak
error while usin
Hi
> RecStream := TMemoryStream.Create;
If you have a memory leak in this code fragment then you probably forgot to
free the stream.
--
mvg, Wilfried
http://www.mestdagh.biz
http://www.comfortsoftware.be
http://www.expertsoftware.be
--
To unsubscribe or change your settings for TWSocket maili
Hi,
> it is expecting that my
> event handler DO receive the data (But it doesn´t) and then, it locks
> up on a loop!
You have to receive the available data in the OnDataAvailable event handler.
This is by design. If you want to process the data in another thread then
the most obvious is that you
I am using TSSLWSocket and I would like to know why I get memory leak
error while using the following at the “OnFormCreate”,
RecStream := TMemoryStream.Create;
Any ideas about what am I doin wrong?
At first, this is not related to ICS: If you create a memory stream or any
other object, then
Hi,
I am using TSSLWSocket and I would like to know why I get memory leak error
while using the following at the “OnFormCreate”,
RecStream := TMemoryStream.Create;
Any ideas about what am I doin wrong?
thanks
--
To unsubscribe or change your settings for TWSocket mailing list
please goto http:/
10 matches
Mail list logo