> 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