Re: [twsocket] Listen exception

2007-04-13 Thread Arno Garrels
: ICS support mailing Objet : Re: [twsocket] Listen exception Engi wrote: Yes, it is Error 10022 ... Your comment doesn't exist in my wsocket.pas, but it's the last v5, downloaded this morning. It is not in v5, it is in current V5/V6 Beta only! Least work is to add the changes manually

Re: [twsocket] Listen exception

2007-04-13 Thread Engi
: [twsocket] Listen exception Engi wrote: Since I put the code to create an instance of my TWSocketServer and the Listen() method in the thread's constructor, all is fine ! In this case the events are not running in worker thread context! Have you tried to initialize worker thread's

Re: [twsocket] Listen exception

2007-04-13 Thread Arno Garrels
applications so far. -- Arno Garrels [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Arno Garrels Sent: Friday, April 13, 2007 11:01 AM To: ICS support mailing Subject: Re: [twsocket] Listen

Re: [twsocket] Listen exception

2007-04-13 Thread Engi
Subject: Re: [twsocket] Listen exception Engi wrote: Yes, I have tried to initialize worker thread's message queue before the calling listen(), but no effect ! I'm sorry, this was my last idea, especially _if you added the changes I posted in one of my previous messages. I never

Re: [twsocket] Listen exception

2007-04-11 Thread Engi
in thread A and sometimes in thread B, but rarely in both threads. Engi -Message d'origine- De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] De la part de Arno Garrels Envoyé : mardi 10 avril 2007 20:44 À : ICS support mailing Objet : Re: [twsocket] Listen exception Engi wrote: Yes

Re: [twsocket] Listen exception

2007-04-10 Thread Engi
Hi, Any ideas ? It's a real problem for me . Thanks, Engi -Message d'origine- De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] De la part de Engi Envoyé : vendredi 6 avril 2007 13:50 À : 'ICS support mailing' Objet : Re: [twsocket] Listen exception Exception at Listen() method

Re: [twsocket] Listen exception

2007-04-10 Thread Fastream Technologies
Perhaps your Winsock is corrupt, try with another Windows. Regards, SZ - Original Message - From: Engi [EMAIL PROTECTED] To: 'ICS support mailing' twsocket@elists.org Sent: Tuesday, April 10, 2007 1:09 PM Subject: Re: [twsocket] Listen exception Hi, Any ideas ? It's a real problem

Re: [twsocket] Listen exception

2007-04-06 Thread Engi
-ShutDown(0); delete WSocketServerWORK; } -Message d'origine- De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] De la part de Engi Envoyé : mercredi 4 avril 2007 14:27 À : 'ICS support mailing' Objet : Re: [twsocket] Listen exception Francois, Thanks for this explanations. I

Re: [twsocket] Listen exception

2007-04-04 Thread Arno Garrels
- Original Message - From: Engi [EMAIL PROTECTED] To: 'ICS support mailing' twsocket@elists.org Sent: Tuesday, April 03, 2007 9:40 PM Subject: Re: [twsocket] Listen exception The listening IP is : 192.168.0.102 The port is 8100 -Message d'origine- De : [EMAIL PROTECTED] [mailto

Re: [twsocket] Listen exception

2007-04-04 Thread Engi
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

Re: [twsocket] Listen exception

2007-04-04 Thread Arno Garrels
, FSelectEvent); -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: Hi, Sometimes

Re: [twsocket] Listen exception

2007-04-04 Thread Engi
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

Re: [twsocket] Listen exception

2007-04-04 Thread Francois Piette
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]

Re: [twsocket] Listen exception

2007-04-04 Thread Arno Garrels
: [twsocket] Listen exception 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

Re: [twsocket] Listen exception

2007-04-04 Thread Engi
mailing Objet : Re: [twsocket] Listen exception 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

Re: [twsocket] Listen exception

2007-04-04 Thread Arno Garrels
: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] De la part de Arno Garrels Envoyé : mercredi 4 avril 2007 11:39 À : ICS support mailing Objet : Re: [twsocket] Listen exception Engi wrote: ICS v5.25 Another info : Listening is launched in a thread Execute() method. Then this error most

Re: [twsocket] Listen exception

2007-04-04 Thread Francois Piette
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

Re: [twsocket] Listen exception

2007-04-04 Thread Engi
Objet : Re: [twsocket] Listen exception 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

[twsocket] Listen exception

2007-04-03 Thread Engi
Hi, Sometimes, when I launch listening for TWSocketServer component, I obtain an exception with message : Error 10022 in function WSAASyncSelect - Invalid argument. What could be the problem ? TIA, Engi -- To unsubscribe or change your settings for TWSocket mailing list please goto

Re: [twsocket] Listen exception

2007-04-03 Thread Arno Garrels
Engi wrote: Hi, Sometimes, when I launch listening for TWSocketServer component, I obtain an exception with message : Error 10022 in function WSAASyncSelect - Invalid argument. Strange, is this in W2K3? Are you working with latest ICS-release? -- Arno Garrels [TeamICS]

Re: [twsocket] Listen exception

2007-04-03 Thread Fastream Technologies
What is the listening IP? Best Regards, SZ - Original Message - From: Engi [EMAIL PROTECTED] To: ICS support mailing twsocket@elists.org Sent: Tuesday, April 03, 2007 10:42 AM Subject: [twsocket] Listen exception Hi, Sometimes, when I launch listening for TWSocketServer component

Re: [twsocket] Listen exception

2007-04-03 Thread Engi
The listening IP is : 192.168.0.102 The port is 8100 -Message d'origine- De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] De la part de Fastream Technologies Envoyé : mardi 3 avril 2007 18:13 À : ICS support mailing Objet : Re: [twsocket] Listen exception What is the listening IP? Best