[FRPythoneers] Cannot Get SocketServer to Work

Rob Riggs rob at pangalactic.org
Wed Sep 17 14:33:50 MDT 2003

Dhruva B. Reddy wrote:

>OK, that worked--thanks Rob!
>However, I tried replacing serve_forever() with handle_request() (which
>causes the server to exit after handling a single request), and found
>that it doesn't exit cleanly--the socket is in a TIME_WAIT state.
>The same thing happens when I leave the serve_forever() call and kill the
>server with a SIGINT.
>Does anyone know how to prevent this?
Call server_close().

More information about the FRPythoneers mailing list