How to stop a SocketServer?
Uwe Mayer
merkosh at hadiko.de
Sat Jun 22 06:40:44 EDT 2002
In article <7xhejv9af2.fsf_-_ at ruckus.brouhaha.com>, phr-
n2002b at NOSPAMnightsong.com says...
[...]
> doing something crude like killing the process? I'd like to be able
> to connect to the server and enter a "shutdown" command and have the
> server gracefully exit and free the port. I haven't been able to
> figure out how to do that.
>
> Suggestions? Thanks.
I'll be faceing the same problem in a few weeks.
Does sys.exit() terminate a thread or the interpreter?
Uwe
More information about the Python-list
mailing list