Re: [twsocket] TWsocket and EStackOverflow

2012-10-24 Thread François Piette
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 somehow corrupted your ICS installation. -- francois.pie

Re: [twsocket] TWsocket and EStackOverflow

2012-10-24 Thread LeNif
Hello, When I use Wireshark to snif communication, I see that exchange with the device continue, even after the close that's really strange ... Maybe the problem is with the device and not with my socket ... thanks LeNif From: François Piette Date: 2012-10-24 20:14 To: 'ICS support ma

Re: [twsocket] TWsocket and EStackOverflow

2012-10-24 Thread François Piette
You should try using Shutdown instead of closing your end. Shutdown ask the other party to close the connection and you receive the sessionclosed event when he accept. If you don't receive sessionclosed event, then you may call Abort. Shutdown is a graceful close (one partu ask the other to bre

[twsocket] Plans for ICS and iOS?

2012-10-24 Thread Hoby Smith
Hello. Now that ICS supports both Windows and MAC OS X via FireMonkey (FM2), do you have any plans to support iOS targets in the future as well? Or, are you waiting for the future XE3/4/5.2 or whatever that will eventually include the new native non-Win target compilers? Thanks much. and y

Re: [twsocket] Plans for ICS and iOS?

2012-10-24 Thread Arno Garrels
Hoby Smith wrote: > Now that ICS supports both Windows and MAC OS X via FireMonkey (FM2), > do you have any plans to support iOS targets in the future as well? > Or, are you waiting for the future XE3/4/5.2 or whatever that will > eventually include the new native non-Win target compilers? That

Re: [twsocket] TWsocket and EStackOverflow

2012-10-24 Thread LeNif
Hello Francois, I already try, after reading the Wiki, the Shutdown(1) procedure, anyway, the result is the same. I try close, shutdown, abort ... etc. Every time, the sessionclosed is fired and when I reconnect I get EStackOverflow ! If I close the apps and restart, the connect is working. May

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] Plans for ICS and iOS?

2012-10-24 Thread Hoby Smith
> That was my plan last year, but then EMB crippled Delphi for their NextGen compiler IMO. Looking at XE3's source code it becomes clear that there will be no more Pointers, only one string type etc.. > in NextGen which seemed to be required for their already announced mobil studio. So I for one ga