def sniff(self):
            self.initialize_socket()
            try:
                while(True):
                    try: 
                        data = self.sock.recv(1024)
                        request = unpack_lifx_message(data)
                        print("\nRECV:"),
                        print(request)
                    except timeout:
                        pass
            except __HOLE__:
                self.sock.close()
dataset/ETHPy150Open mclarkk/lifxlan/examples/sniffer.py/Sniffer.sniff