SocketServer problem: client hangs trying to reconnect after server restart

Massi massi_srb at msn.com
Mon Feb 28 14:09:33 CET 2011


On 28 Feb, 13:34, cmcp <mcphail_co... at hotmail.com> wrote:
> In method StopServer() of class MyServer try calling  self.server_close() after the self.shutdown() call.  I believe this will actually close the server's socket and allow its reuse.

It works! Thank you!!



More information about the Python-list mailing list