Re: [twsocket] TWsocket and EStackOverflow

2012-10-25 Thread François Piette
I already try, after reading the Wiki, the Shutdown(1) procedure, anyway, the result is the same. I try close, shutdown, abort ... etc. Make a stripped down version of your application and mail it to me. Be sure to include a complete project with only the code required to reproduce the error.

Re: [twsocket] TWsocket and EStackOverflow

2012-10-25 Thread RTT
On 22-10-2012 19:04, LeNif wrote: My problem is when I disconnect the socket and I immediately reconnects, I get an error EStackOverflow And if the reconnect is not immediately (you wait more time), the error does not occur? Have you checked the stack trace, in that stack overflow condition,

Re: [twsocket] TWsocket and EStackOverflow

2012-10-25 Thread Matt Minnis
: [twsocket] TWsocket and EStackOverflow On 22-10-2012 19:04, LeNif wrote: My problem is when I disconnect the socket and I immediately reconnects, I get an error EStackOverflow And if the reconnect is not immediately (you wait more time), the error does not occur? Have you checked the stack trace

Re: [twsocket] TWsocket and EStackOverflow

2012-10-24 Thread François Piette
. -- francois.pie...@overbyte.be Embarcadero MVP http://www.overbyte.be -Message d'origine- De : twsocket-boun...@elists.org [mailto:twsocket-boun...@elists.org] De la part de LeNif Envoyé : mercredi 24 octobre 2012 07:55 À : twsocket Objet : Re: [twsocket] TWsocket and EStackOverflow Hello, When I say

Re: [twsocket] TWsocket and EStackOverflow

2012-10-24 Thread LeNif
mailing' Subject: Re: [twsocket] TWsocket and EStackOverflow I don't see anything obviously wrong there. Just to be sure, please test one of the sample programs (For example OverbyteIcsClient7.dproj which is close to your own test) delivered with ICS to see if they works OK. If not, then you have

Re: [twsocket] TWsocket and EStackOverflow

2012-10-24 Thread François Piette
d'origine- De : twsocket-boun...@elists.org [mailto:twsocket-boun...@elists.org] De la part de LeNif Envoyé : mercredi 24 octobre 2012 20:29 À : twsocket Objet : Re: [twsocket] TWsocket and EStackOverflow Hello, When I use Wireshark to snif communication, I see that exchange with the device continue

Re: [twsocket] TWsocket and EStackOverflow

2012-10-24 Thread LeNif
. Maybe I must use a runtime created socket to solve this behaviour ? Thanks F. LeNif From: François Piette Date: 2012-10-24 21:22 To: 'ICS support mailing' Subject: Re: [twsocket] TWsocket and EStackOverflow You should try using Shutdown instead of closing your end. Shutdown ask the other party

Re: [twsocket] TWsocket and EStackOverflow

2012-10-24 Thread Arno Garrels
LeNif wrote: I already try, after reading the Wiki, the Shutdown(1) procedure, anyway, the result is the same. I try close, shutdown, abort ... etc. Try the following: From the OnSessionClosed event handler post a custom window message and reconnect when that message is handled. -- Arno --

Re: [twsocket] TWsocket and EStackOverflow

2012-10-23 Thread François Piette
Hello, thanks but I already wait for OnsessionClosed befor restarting. Wait ? Does this means you don't use the events ? I post a capture with log info here ... http://imageshack.us/photo/my-images/844/screenshot47a.png/ Not very interesting... If you have a stack overflow, you probably