Francois,
Thanks for this explanations.
I moved all the lines from constructor to Execute() method and all is fine
now.
Engi
-Message d'origine-
De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] De la
part de Francois Piette
Envoyé : mercredi 4 avril 2007 13:15
À : ICS support mailing
Ob
> No, I create the instance in the thread constructor.
Any constructor for TThread class is executed in the context of the creating
[likely main] thread, not the [future] created thread ! The new thread
context exists only at the very beginning of the Execute method. So you must
create any event-d
Engi wrote:
> No, I create the instance in the thread constructor.
> Must I create instance in Execute method or deplace listening method
> in
> constructor ?
Create and Destroy the instance in method Execute in order to run both
listening as well as client sockets in the same worker thread cont
No, I create the instance in the thread constructor.
Must I create instance in Execute method or deplace listening method in
constructor ?
-Message d'origine-
De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] De la
part de Arno Garrels
Envoyé : mercredi 4 avril 2007 11:39
À : ICS support
Engi wrote:
> ICS v5.25
>
> Another info : Listening is launched in a thread Execute() method.
Then this error most likely has do to with incorrect use of the
components in worker thread(s).
Do you create the instance of TWSocketServer in Execute() or do you
call ThreadDetach/ThreadAttach as
> Another info : Listening is launched in a thread Execute() method.
Be sure to have created the component from the Execute method, or call
ThreadAttach from the execute method before calling listen.
Contribute to the SSL Effort. Visit http://www.overbyte.be/eng/ssl.html
--
[EMAIL PROTECTED]
Auth
ICS v5.25
Another info : Listening is launched in a thread Execute() method.
-Message d'origine-
De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] De la
part de Arno Garrels
Envoyé : mercredi 4 avril 2007 10:44
À : ICS support mailing
Objet : Re: [twsocket] Listen exception
Engi wrote
Engi wrote:
> I'm working under XP pro SP2.
> I don't know the ICS release. How can I find it ?
Do you find these lines in (OverbyteIcs)WSocket.pas at
the bottom of procedure TCustomWSocket.Listen?
{ FP:26/09/06 Are FD_READ and FD_WRITE really necessary ? Probably not ! }
{ Lodewijk Ellen
I'm working under XP pro SP2.
I don't know the ICS release. How can I find it ?
-Message d'origine-
De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] De la
part de Arno Garrels
Envoyé : mardi 3 avril 2007 18:11
À : ICS support mailing
Objet : Re: [twsocket] Listen exception
Engi wrote:
>
Fastream Technologies wrote:
> Try 0.0.0.0 .
I've never seen a socket error in function WSAASyncSelect
when the IP is invalid, but in Bind()!
That's why I asked for the OS and ICS version.
--
Arno Garrels [TeamICS]
http://www.overbyte.be/eng/overbyte/teamics.html
>
> Regards,
>
> SZ
>
> -
10 matches
Mail list logo