Hello Bevan,
Thanks for your time.
Please find below the server code. Like i said, i don't really handle the
clients since TWSocketServer manage it.
What i understand is that the stack overflow is now well handled because
after the callback OnClientBGException the program continue to wo
Hi Moro,
I am happy to help with C++ here. You originally said that you wrap the
Send in a try/catch, but that's not apparent from the code sample below.
Are you able to send me the full source code so I can see what it's
doing, as well as looking at how you connect and manage the clients?
> Now, i first receive the Stack overflow Exception,
> then the ClientBgException() is called with this Overflow,
You have to focus on the stack overflow. It means you have a recursive
call in you application.
If the BlientBgException is called after the stack overflow it is
because you overf
> I do not handle any client since this management is internal to
> TWSocketServer.
Last time you said 'TWSocket class as server'
You still have to add lots of client code to make TWSocketServer do useful
things, if that's where you get exceptions you should check your code.
> C++ XE3 focus m
Hello Angus,
Thanks for your reply.
These are the number you provide in your changelog :
r1250 | angus | 2015-03-26 12:07:09 + (Thu, 26 Mar 2015) | 5 lines
Mar 26, 2015 V8.16
r1196 | aguser | 2013-12-01 15:06:38 + (Sun, 01 Dec 2013) | 1 line
I do not handle any clien
> My program crash with a Stack Overflow exception wich i can't catch
> but i can easely reproduce :
That usually happens because your application keeps allocating memory without
freeing it. Maybe you keep allocation new clients and never free them?
There are no known memory leaks in the ICS
Hello developpers,
My program crash with a Stack Overflow exception wich i can't catch but i
can easely reproduce :
I start a server program S and a client program C the client is started in
debug mode.
Both S and C use TWSocket class as server and client.
Server :
Send small chunk