On Wed, 27 Aug 2008 18:44:46 +0200, "Diez B. Roggisch"
<[EMAIL PROTECTED]> wrote:
>Alexandru Mosoi wrote:
>
>> supposing that I have a server (an instance of SocketServer()) that
>> waits for a connection (ie is blocked in accept()) and in another
>> thread i want to stop the server, how do I do
Alexandru Mosoi wrote:
> supposing that I have a server (an instance of SocketServer()) that
> waits for a connection (ie is blocked in accept()) and in another
> thread i want to stop the server, how do I do that?
By setting a timeout on the socket using socket.settimeout, and then
periodically
supposing that I have a server (an instance of SocketServer()) that
waits for a connection (ie is blocked in accept()) and in another
thread i want to stop the server, how do I do that?
--
http://mail.python.org/mailman/listinfo/python-list