Re: [twsocket] TWsocket and EStackOverflow

2012-10-22 Thread François Piette
> My problem is when I disconnect the socket and I immediately reconnects, I get an error EStackOverflow > I can not find the cause of this error. TWSocket is asynchronous. You must not reconnect before actual disconnection is done. Use OnSessionClosed event to know when disconnection is complete.

[twsocket] TWsocket and EStackOverflow

2012-10-22 Thread LeNif
Hi all, I use TWSocket to interact with an industrial device. I made a simple project for testing. I can connect without problems, send and receive data. Until here all is well! My problem is when I disconnect the socket and I immediately reconnects, I get an error EStackOverflow I can not find