Anonymous - 2001-02-07

hi
every time when i access to a server written with common-c++, the finished connections are not really finished. when i take a look at "netstat", they are in the TIME_WAIT state. how can i cleanly terminate the connections with common-c++-methods? i've tryed endStream() and endSocket(), but thas didn't work.

another question: is it possible (i think so, but don't know how ;) to shutdown a server-app (not to kill, correct ending) from the Run-method of a TCPSession (Thread)?
this->getParent()->Exit(); doesn't work because Exit() is protected. is there any other way to do it?

greetings
befi