def __init__(self,parent): self.port = 2562 self.socket = common.getTCPSocket() self.address = common.getIpAddress() self.socket.bind((self.address,self.port)) self.socket.listen(0) self.connections = [] self.database = {"blaqkdeath":"test"}
def __init__(self,data): self.data = data self.socket = common.getTCPSocket()