ICS 6 is totally stable and we have customers that have heavy
network traffic (300 Mbps avg) and ICS is working perfectly
Congratulations to the ICS team
Thanks for your favorable opinion.
Contribute to the SSL Effort. Visit http://www.overbyte.be/eng/ssl.html
--
[EMAIL PROTECTED]
Author of
What I'm doing wrong?
Your HTTP component runs in the main thread since you created in the context
of the main thread (TThread constructor execute in the context of the
calling thread, not in the context of the created thread). Create you HTTP
component instance from the thread's Execute method
Hello,
With your code below THttpCli's events are not executed in TBaseThread.
Create and Destroy THttpCli in Execute procedure of the thread.
---
Arno Garrels [TeamICS]
http://www.overbyte.be/eng/overbyte/teamics.html
Anatoly Podgoretsky wrote:
Hi!
I want use THttpCli within TTread, but
Francois PIETTE wrote:
In a message, Arno Garrels wrote:
I'm writting a small C/S protocol. It includes sending/receiving
database records.
Maybe you are interested by MidWare ? Did you had a look at it ?
Yes I had a look at it years ago, great components. But it's easier
for me to do it
Hi Arno and Francois,
I understood my my mistake. I think that TBaseThread.Create is thread context
and it is wrong.
I found another decision. Nnow I create HtthCli before creating TBaseThread and
put reference of it in TBaseThread.create. When TBaseThread terminate I free
instanse of HtthCli
Component events are executed in worker thread context ONLY IF they
are either created in the Execute procedure or if you use methods
ThreadDetach/ThreadAttach instead. The hidden window of a ICS
component must be created in worker thread context.
TThread.Create is executed in the calling thread.
Hello,
When Connect fails WSocket.SessionConnected is triggered with
ErrCode 0, but State is wsConnected.
Is there a special reason why wsConnected is set even though
msg.LParamHi is not null?
procedure TCustomWSocket.Do_FD_CONNECT(var msg: TMessage);
begin
if FState wsConnected then
Anbody having the FtpCommon.pas (to parse the ftp listing) could send it to me
...
Thanks
-
Try the all-new Yahoo! Mail . The New Version is radically easier to use
The Wall Street Journal
--
To unsubscribe or change your settings for
New Era wrote:
Anbody having the FtpCommon.pas (to parse the ftp listing) could send
it to me ...
If you tell us your real name, I send it to you.
---
Arno Garrels [TeamICS]
http://www.overbyte.be/eng/overbyte/teamics.html
Thanks
-
Try the all-new
Does Midware already support SSL?
I built an SSL enabled version long time ago. I surely need a lot of work
since ICS-SSL has evolved, as you know.
Basically MidWare use TWSocketServer so making it SSL enabled in not a big
deal.
Contribute to the SSL Effort. Visit
Hello Miguel,
Your code looks OK. Very strange this behavour. Can you make a simple
demo (GUI) project to demonstrate the behavour ? Possible I have time
this weekend to investigate it.
---
Rgds, Wilfried [TeamICS]
http://www.overbyte.be/eng/overbyte/teamics.html
http://www.mestdagh.biz
wsConnected means the result to the connection process is known, wheter it
is a success or not.
This is analog to having OnSessionConnected called even if connection fails.
Contribute to the SSL Effort. Visit http://www.overbyte.be/eng/ssl.html
--
[EMAIL PROTECTED]
Author of ICS (Internet
I found another decision. Nnow I create HtthCli before creating
TBaseThread and put reference of it in TBaseThread.create.
There is another issue you seems to ignore. A thread context is not related
at all to the TThread class. It is not because you run a TThread method that
it runs within the
Hello we have in some applications, where we use TWSockte sometimes the
problem, that TWSocket hangs in an infinite loop in
TCustomWSocket.ASyncReceive
and therefore never handles the OnDataAvailable event.
Any ideas to solve this problem are welcome.
Unfortunatelly it is not reproduceable,
I think this might happen when you don't call receive to get all the data
from the component in OnDataAvailable.
Regards Bjørnar
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Gerhard Rattinger
Sent: 6. oktober 2006 14:01
To: ICS support mailing
I ask before about
1. What I set to property Multitreaded? I don't understand it.
I did? I believe I must.
and about
3. In all examples I see that I must access HttpCli data with Memory Stream
(ms.LoadFromStream(StringList) - is another method to access received data
without a stream?
I think the best way Francois provide us a full multi-threading example
for HttpCli or any member in the list already done sample for that.
Anatoly Podgoretsky wrote:
I ask before about
1. What I set to property Multitreaded? I don't understand it.
I did? I believe I must.
and about
3.
- Original Message -
From: Abdullah AlQasim [EMAIL PROTECTED]
To: ICS support mailing twsocket@elists.org
Sent: Friday, October 06, 2006 3:51 PM
Subject: Re: [twsocket] How to use THttpCli with threads?
I think the best way Francois provide us a full multi-threading example
for
Hi Frans,
Examples and third party demos are very high, really I don't catch all of them.
:-)
But I looked its example and see that my current code very similar.
With best regards,
Anatoly Podgoretsky
- Original Message -
From: Frans van Daalen [EMAIL PROTECTED]
I think the best way
Thanks Abdullah,
Now I look HttpThr example
With best regards,
Anatoly Podgoretsky
- Original Message -
From: Abdullah AlQasim [EMAIL PROTECTED]
To: ICS support mailing twsocket@elists.org
Sent: Friday, October 06, 2006 4:51 PM
Subject: Re: [twsocket] How to use THttpCli with
1. What I set to property Multitreaded? I don't understand it.
This property tells the component it is working within a secondary thread.
See the source code and you'll see it use that property to slightly modify
the way it get and handle messages.
3. In all examples I see that I must access
Francois Piette wrote:
wsConnected means the result to the connection process is known,
wheter it is a success or not.
This is analog to having OnSessionConnected called even if connection
fails.
I understand, but it's a little bit strange anyway.
---
Arno Garrels [TeamICS]
22 matches
Mail list logo