Hi, I have implemented a socket server patterned after the echo example. 
  Everything works fine as long as connection closes ok, but if client 
cuts the connection short, the server application starts to eat up CPU 
on the computer.

Execution happens within a TThread decendant.  If the thread is allowed 
to run it will free itself (FreeOnTerminate is true).  However, if the 
client disconnects from the connection, then the thread is never freed 
(or at least the overriden Destructor is not fired).

Can someone shed any light on this?  I can supply some sample code, but 
its about the same as the echo example.

Thanks for your help,
-- 

Warm Regards,

Lee



-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
synalist-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/synalist-public

Reply via email to