KeyboardInterrupt catch does not shut down the socketserver

Igor Katson descentspb at gmail.com
Fri May 15 14:04:05 CEST 2009


Lawrence D'Oliveiro wrote:
> 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>.
>
>
>   
Shutdown implies closing the listening socket, doesn't it?



More information about the Python-list mailing list