Win32 KeyboardInterrupt

Adrian Eyre a.eyre at optichrome.com
Tue Mar 7 09:26:30 EST 2000


> Turns out the worker class was blocking on a socket.accept(). As soon as I
> telnetted to the listening port, the worker shut down...
> 
> Any way I can make socket.accept() not do this?

See the 'select' module for non-blocking IO.

-----------------------------------------------------------------
Adrian Eyre <a.eyre at optichrome.com> - http://www.optichrome.com 





More information about the Python-list mailing list