def checkForMessages(self):
        read_list, write_list, error_list = \
                   select.select([sock], [], [sock], 0)
        if sock in read_list:
            raw = sock.recv(8000)
            self.printOutput(raw)