t 07, 2006 2:37 PM
Subject: Re: [twsocket] Multithreaded Client Application
Hello Éric,
> FSocket is a pointer to socket passed to the thread´s constructor
Execute method is ok. Dont forget to ThreadDetach before giving the
socket to the thread. Aslo be aware that between the Detach/Attach th
Hello Éric,
> FSocket is a pointer to socket passed to the thread´s constructor
Execute method is ok. Dont forget to ThreadDetach before giving the
socket to the thread. Aslo be aware that between the Detach/Attach there
is no window assigned and the socket will not be notified of data. It is
onl
Thanks a lot Arno! :)
- Original Message -
From: "Arno Garrels" <[EMAIL PROTECTED]>
To: "ICS support mailing"
Sent: Monday, August 07, 2006 2:13 PM
Subject: Re: [twsocket] Multithreaded Client Application
Éric Fleming Bonilha wrote:
> the Execute
Éric Fleming Bonilha wrote:
> the Execute should be something like this:
Looks OK, principally :)
---
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/
:)
Thanks!
Éric
- Original Message -
From: "Arno Garrels" <[EMAIL PROTECTED]>
To: "ICS support mailing"
Sent: Monday, August 07, 2006 12:25 PM
Subject: Re: [twsocket] Multithreaded Client Application
Éric Fleming Bonilha wrote:
> So, one doubt that I have is,
inated then
DoSomething;
StartTicks := GetTickCount;
CurTimeOut := 1;
end
end;
>
> - Original Message -
> From: "Arno Garrels" <[EMAIL PROTECTED]>
> To: "ICS support mailing"
> Sent: Monday, August 07, 2006 11:01 AM
> Subject
be working on the
thread context?
Thanks a lot!!
Éric
- Original Message -
From: "Arno Garrels" <[EMAIL PROTECTED]>
To: "ICS support mailing"
Sent: Monday, August 07, 2006 11:01 AM
Subject: Re: [twsocket] Multithreaded Client Application
Éric Fleming Bonil
Éric Fleming Bonilha wrote:
> Hello,
>
> I´m writing a multi-threaded client application
>
> I read the ICS code and there is written that to make a real multi-
> threaded application we should do ThreadAttach and use the
> messageloop procedure on the execute method of the working thread.
> I´
Hello Eric,
You need a message handler for the thread with a while(GetMessage(...)).
Peace be upon you,
SZ
- Original Message -
From: "Éric Fleming Bonilha" <[EMAIL PROTECTED]>
To:
Sent: Monday, August 07, 2006 4:45 PM
Subject: [twsocket] Multithreaded Client Application
Hello,
I´m