when i run on mac it works very well .but on win7 or win10 it reports many socket error the errorno is 10053 . i dont konw why .here is my code ,could you help me ?
def minitouchReplay(cls,cmdlines):
for cmd in cmdlines:
cmd = cmd.strip()
cmd = cmd.replace('\n','\n')
cls.msocket.sendall(cmd)
print "cmd:"+cmd
when i run on mac it works very well .but on win7 or win10 it reports many socket error the errorno is 10053 . i dont konw why .here is my code ,could you help me ? def minitouchReplay(cls,cmdlines): for cmd in cmdlines: cmd = cmd.strip() cmd = cmd.replace('\n','\n') cls.msocket.sendall(cmd) print "cmd:"+cmd
cmdlines.append(line) if(line.find('u 0\n')!=-1): Minitouch.minitouchReplay(cmdlines) cmdlines = []
i cannot findout whats wrong