def send_init(self):
cpus=multiprocessing.cpu_count()
mac=':'.join('%02X' % ((get_mac() >> 8*i) & 0xff) for i in reversed(xrange(6)))
self.socket.sendto("init#"+str(cpus)+"#"+mac, (self.server_ip, self.tx_port))
评论列表
文章目录