tohox

tohox
- Name: [not set]
- Favorite Languages: [not set]
- Website: [not set]
- Location: [not set]
- About Me: [not set]
-
C# Tutorial - Simple Threaded TCP Server
07/03/2009 - 14:02
Hi,
I've implemented your server solution and it works fine except that threads seem to be accumulating and not being released as the clients close their connection. Everytime a connection is caught by the TcpListener the size of the application in memory grows by a few kB but upon the final tcpClient.Close() in the HandleClientComm the ressources don't seem to released. So my application is constantly inflating... It was my understanding that once the connection was closed the thread would simply vanish?
thanks!
Recent Comments