MCPcopy Create free account
hub / github.com/secdev/scapy / sniff_bg

Method sniff_bg

scapy/ansmachine.py:277–280  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

275 ssock.close()
276
277 def sniff_bg(self):
278 # type: () -> None
279 self.sniffer = threading.Thread(target=self.sniff) # type: ignore
280 self.sniffer.start()
281
282 def make_reply(self, req, address=None):
283 # type: (Packet, Optional[Any]) -> Packet

Callers

nothing calls this directly

Calls 1

startMethod · 0.45

Tested by

no test coverage detected