zentara schrieb:
>> I wrote a small server, which accepts connections on a tcp socket and
spawns a
>> new thread for each connection, which terminates when the socket has been
>> closed.
>>
>> The server runs fine, however, while stresstesting, I experienced a runaway
of
>> the memory consumpt
Hi,
I'm still trying to get familiar with threads and sockets.
However, I got in some troubles with memory leaks, could anyone perhaps give
me a hint in which way I should write a multithreaded socket server ?
I wrote a small server, which accepts connections on a tcp socket and spawns a
new t