示例#1
0
    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"}
示例#2
0
 def __init__(self,data):
     
     self.data = data
     self.socket = common.getTCPSocket()