[Tutor] Killing a socketserver
kent37 at tds.net
Thu Feb 5 19:33:02 CET 2009
On Thu, Feb 5, 2009 at 7:26 AM, Michael Bernhard Arp Sørensen
<michael at arpsorensen.dk> wrote:
> Geeting, my masters.
> How do I kill/shutdown a socket server running in its own thread either from
> handle() or from outside of the tread? Any thing will do.
> It's python version 2.5.2, so the newer shutdown method in version 2.6 does
> not work here.
Subclass the server class adding shutdown() and supporting
infrastructure from 2.6.
More information about the Tutor