: "Wilfried Mestdagh" <[EMAIL PROTECTED]>
To: "ICS support mailing"
Sent: Monday, January 30, 2006 11:06 AM
Subject: Re: [twsocket] THttpConnection throttling problem with timer
> Hello Fastream,
>
> OK. You mentioned before that it was TryToSend that was continuously
AM
Subject: Re: [twsocket] THttpConnection throttling problem with timer
> Hello,
>
> Just a word to say I recently had that kind of 100% CPU problem in a
> thread. I was starting a new project with different WSocket and as
> always I "prepare" all the On events procedu
ilfried Mestdagh" <[EMAIL PROTECTED]>
> To: "ICS support mailing"
> Sent: Monday, January 30, 2006 10:49 AM
> Subject: Re: [twsocket] THttpConnection throttling problem with timer
>> Hello Fastream,
>>
>> You have to call the message pump from in yo
Hello,
Just a word to say I recently had that kind of 100% CPU problem in a
thread. I was starting a new project with different WSocket and as
always I "prepare" all the On events procedures I will need but I
forgot to put a ReceiveStr in the one of the OnDataAvailable so after
receivi
That's already what I did. However it still consumes 100% CPU!!!
Regards,
SZ
- Original Message -
From: "Wilfried Mestdagh" <[EMAIL PROTECTED]>
To: "ICS support mailing"
Sent: Monday, January 30, 2006 10:49 AM
Subject: Re: [twsocket] THttpConnectio
quot;ICS support mailing"
> Sent: Sunday, January 29, 2006 7:45 PM
> Subject: Re: [twsocket] THttpConnection throttling problem with timer
>> Hello Wilfried,
>>
>> I do not think that's the problem. The code is:
>>
>> void __fastcall ht
t;ICS support mailing"
Sent: Sunday, January 29, 2006 7:45 PM
Subject: Re: [twsocket] THttpConnection throttling problem with timer
> Hello Wilfried,
>
> I do not think that's the problem. The code is:
>
> void __fastcall httpClient::MessagePump(TObject *Sender)
> {
>
ied Mestdagh" <[EMAIL PROTECTED]>
> To: "ICS support mailing"
> Sent: Sunday, January 29, 2006 6:59 PM
> Subject: Re: [twsocket] THttpConnection throttling problem with timer
>> Hello Fastream,
>>
>>> FCtrlSocket->OnMessagePump = Mes
age() based loop which is good.
Regards,
SZ
- Original Message -
From: "Wilfried Mestdagh" <[EMAIL PROTECTED]>
To: "ICS support mailing"
Sent: Sunday, January 29, 2006 6:59 PM
Subject: Re: [twsocket] THttpConnection throttling problem with timer
>
Hello Fastream,
> FCtrlSocket->OnMessagePump = MessagePump;
This was in fact the answer to my question. But what do you have written
in MessagePump ? If it is the MessagePump method from TWSocket you are
in an endless loop because MessagePump will call OnMessagePump if it is
assigned.
--
I use Send(FDocBuf, len); similar to SendStream()!
Regards,
SZ
- Original Message -
From: "Wilfried Mestdagh" <[EMAIL PROTECTED]>
To: "ICS support mailing"
Sent: Sunday, January 29, 2006 6:45 PM
Subject: Re: [twsocket] THttpConnection throttling problem wit
oReceiveLoop;
}
//---
Isn't this the right code?
Regards,
SZ
- Original Message -
From: "Dan" <[EMAIL PROTECTED]>
To: "ICS support mailing"
Sent: Sunday, January 29, 2006 4:53 PM
Subject: Re: [twsocket] THttpConnection throttling problem with timer
>I s
: "ICS support mailing"
> Sent: Sunday, January 29, 2006 4:56 PM
> Subject: Re: [twsocket] THttpConnection throttling problem with timer
>> The problem I see is 100 mS.
>> Just for fun, try with 2000 mS and evaluate the mean bandwidth on a 10 sec
>> period
unday, January 29, 2006 4:56 PM
Subject: Re: [twsocket] THttpConnection throttling problem with timer
> The problem I see is 100 mS.
> Just for fun, try with 2000 mS and evaluate the mean bandwidth on a 10 sec
> period.
> When it works, you may lower the numbers.
> --
> [EMAIL PROTE
To: "ICS support mailing"
Sent: Sunday, January 29, 2006 1:37 PM
Subject: Re: [twsocket] THttpConnection throttling problem with timer
> Hello,
>
> Perhaps we should think at the algorithm level. Here it is for your eyes
> only: ;)
>
> I want to throttle bandwidth of my
t; <[EMAIL PROTECTED]>
To: "ICS support mailing"
Sent: Sunday, January 29, 2006 12:37 PM
Subject: Re: [twsocket] THttpConnection throttling problem with timer
> Hello,
>
> Perhaps we should think at the algorithm level. Here it is for your eyes
> only: ;)
>
> I wa
t;[EMAIL PROTECTED]>
To: "ICS support mailing"
Sent: Sunday, January 29, 2006 2:02 PM
Subject: Re: [twsocket] THttpConnection throttling problem with timer
>>> Not really. Each time I see a TTimer triggered every 100 mSec (or any
>>> very
>>> short time
>> Not really. Each time I see a TTimer triggered every 100 mSec (or any
>> very
>> short time period), I know this will cause CPU problem. And bandwidth
>> limitation defenitely doesn't require a so short period of time. What is
>> useful, regarding bandwidth limitation - is to have bandwidth lim
Paul wrote:
> - Original Message -
> From: "Francois PIETTE" <[EMAIL PROTECTED]>
>> Not really. Each time I see a TTimer triggered every 100 mSec (or any
>> very short time period), I know this will cause CPU problem. And
>> bandwidth limitation defenitely doesn't require a so short period
- Original Message -
From: "Francois PIETTE" <[EMAIL PROTECTED]>
> Not really. Each time I see a TTimer triggered every 100 mSec (or any very
> short time period), I know this will cause CPU problem. And bandwidth
> limitation defenitely doesn't require a so short period of time. What is
>
ginal Message -
From: "Fastream Technologies" <[EMAIL PROTECTED]>
To: "ICS support mailing"
Sent: Sunday, January 29, 2006 10:04 AM
Subject: Re: [twsocket] THttpConnection throttling problem with timer
> But it does not work that way! Maybe my logic is a bit different, di
[twsocket] THttpConnection throttling problem with timer
> 100 mSec is way too short. Use 2000 mSec or more.
> --
> [EMAIL PROTECTED]
> http://www.overbyte.be
>
> - Original Message -
> From: "Fastream Technologies" <[EMAIL PROTECTED]>
> To: "I
100 mSec is way too short. Use 2000 mSec or more.
--
[EMAIL PROTECTED]
http://www.overbyte.be
- Original Message -
From: "Fastream Technologies" <[EMAIL PROTECTED]>
To: "ICS support mailing"
Sent: Sunday, January 29, 2006 8:41 AM
Subject: [twsocket] THttpConnection throttling problem wit
23 matches
Mail list logo