Thank you very much for your help.
Perhaps a bad construction of my source code.
I'll try to rewrite this later.
Bye,
Engi
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Arno Garrels
> Sent: Friday, April 13, 2007 7:27 PM
> To: ICS support maili
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 saw a socket error in
WSAASyncSelect in one of my app
Hello Wilfried,
> What is exacly the exception message ?
The exception that was raised was "Socket operation on non-socket (#10038 in
Disconnect (closesocket))."
and it was raised on this:
|00507C4D|Servidor.exe|OverByteICSWSocket.pas|TCustomWSocket
|RaiseException
> You have to call Abort once Connect has been called and OnSessionClosed
> has not been triggered yet to abort the session. Then in OnSessionClosed
> start the timer or post a custom message if you want to reconnect at once.
Ok, now I undestood, I will try to implement on that way
Thank you Arno
Hello Éric,
> Actually I thing that this exception was raised because of the
> architecture of my software and I need an opinion about that.
What is exacly the exception message ?
> when I have some hosts down. My app has a Timeout parameter (Default 4
> seconds) when if it doesn´t receives vide
Éric Fleming Bonilha wrote:
>> Éric,
>
>> Since ICS works asynchronous a reconnect-timer should be started from
>> event handler OnSessionClosed, is that the case?
>> Also the best place to destroy the object is from OnSessionClosed as
>> well.
>
> But the OnSessionClosed event will be triggered
Hello,
Please use the ICS http prot demo to locate to an Apache with 401 protection
with chunked mode:
Not using proxy
cmd> GET / HTTP/1.1
cmd> Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, */*
cmd> Connection: Keep-Alive
cmd> Accept-Language: en, fr
cmd> User-Agent: Mozilla/3.0 (
> Éric,
> Since ICS works asynchronous a reconnect-timer should be started from
> event handler OnSessionClosed, is that the case?
> Also the best place to destroy the object is from OnSessionClosed as
> well.
But the OnSessionClosed event will be triggered if I try to connect to an
inacessible
Éric,
Since ICS works asynchronous a reconnect-timer should be started from
event handler OnSessionClosed, is that the case?
Also the best place to destroy the object is from OnSessionClosed as
well.
--
Arno Garrels [TeamICS]
http://www.overbyte.be/eng/overbyte/teamics.html
Éric Fleming Bonil
Hello all,
I want to discuss an architectural issue here
I´m debugging an application of mine and yesterday it has stopped working and I
got the following EurekaLog call stak information
|00507C4D|Servidor.exe|OverByteICSWSocket.pas|TCustomWSocket
|RaiseException
Yes, I have tried to initialize worker thread's message queue before the
calling listen(), but no effect !
> -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
OK, thanks.
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Arno Garrels
> Sent: Friday, April 13, 2007 11:20 AM
> To: ICS support mailing
> Subject: Re: [twsocket] Client identification
>
> Engi wrote:
> > Hi,
> >
> > In my program, a TWSocketS
Engi wrote:
> Hi,
>
> In my program, a TWSocketServer in thread 'A' receives commands
> (queries)
>> from clients.
> The thread 'A' post this commands to another thread 'B' which execute
> them. Later, thread A receives an asynchronous answer from thread 'B'.
> How can the thread A could transmit
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 message queue before
the calling li
Hi,
In my program, a TWSocketServer in thread 'A' receives commands (queries)
from clients.
The thread 'A' post this commands to another thread 'B' which execute them.
Later, thread A receives an asynchronous answer from thread 'B'.
How can the thread A could transmits this answer to the good cli
Since I put the code to create an instance of my TWSocketServer and the
Listen() method in the thread's constructor, all is fine !
-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
Ob
16 matches
Mail list logo