Close Threading

Diez B. Roggisch deets_noospaam at web.de
Mon Feb 2 17:13:43 CET 2004


> I have a small question now.
> what can i do to close a socket proccess?
>     server = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
> 
> there is a any method for close the socket ?

server.close()

But you definitely should look at the python twisted framework for creating
networking-based software.

Regards,

Diez



More information about the Python-list mailing list