|
@@ -1,5 +1,3 @@
|
|
|
-
|
|
|
-
|
|
|
import socket, threading
|
|
|
import time
|
|
|
from threading import Thread
|
|
@@ -10,7 +8,6 @@ f.write("1")
|
|
|
f.close()
|
|
|
|
|
|
|
|
|
-
|
|
|
class ClientThread(threading.Thread):
|
|
|
def __init__(self,clientAddress,clientsocket):
|
|
|
threading.Thread.__init__(self)
|
|
@@ -69,7 +66,6 @@ def task():
|
|
|
quit()
|
|
|
|
|
|
|
|
|
-
|
|
|
def task2():
|
|
|
while True:
|
|
|
server.listen(1)
|
|
@@ -86,28 +82,3 @@ t2.start()
|
|
|
t1.join()
|
|
|
t2.join()
|
|
|
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|