(self)
Sniff packets
Sniff packets
Sniff packets
def sniff_thread(self):
        """Sniff packets"""
        sniff(filter='udp and port 137', prn=self.handler, store=0,
                                stopper=self.test_stop, stopperTimeout=3)
def sniff_thread ( self ) : sniff ( filter = 'udp and port 137' , prn = self . handler , store = 0 , stopper = self . test_stop , stopperTimeout = 3 )