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
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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