''

def receiveLog(self, callbackFunc, loop=False):

    rl = [self.socket.fileno()]
    while True:
        (rlist, wlist, xlist) = select.select(rl, [], [], 1.0)
        if rlist:
            msg = self.socket.recv(4096)
            if (len(msg) == 0):
                print ("Receive    0    bytes,    over!    fileno    '%s'" % self.socket.fileno())
                return
            ms = self.parseLog(msg)
            if ms:
                callbackFunc(ms)
            continue
        if (not loop):
            break
        self.sendActiveTick()
