KeyboardInterrupt catch does not shut down the socketserver
Lawrence D'Oliveiro
ldo at geek-central.gen.new_zealand
Fri May 15 07:53:37 EDT 2009
In message <mailman.185.1242375959.8015.python-list at python.org>, Igor Katson
wrote:
> Lawrence D'Oliveiro wrote:
>
>> In message <mailman.183.1242371089.8015.python-list at python.org>, Igor
>> Katson wrote:
>>
>>> I have problems in getting a SocketServer to shutdown.
>>
>> Do you want to do a shutdown or a close?
>>
> I want the server close the socket ...
You want to do a close, do a close, not a shutdown
<http://docs.python.org/library/socket.html>.
More information about the Python-list
mailing list