复制代码 代码如下:# -*- coding: cp936 -*-import socketfrom threading import Thread,activeCount,Lockfrom time import ctimemutex = Lock() class Loop(Thread): def __init__(self,ip,port,que): Thread.__init__(self) self.ip = ip self.port = port self.que = que def run(s