MCPcopy Index your code
hub / github.com/secdev/scapy / _winreset

Method _winreset

scapy/automaton.py:182–185  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

180 warning(ctypes.FormatError(ctypes.GetLastError()))
181
182 def _winreset(self):
183 # type: () -> None
184 if ctypes.windll.kernel32.ResetEvent(ctypes.c_void_p(self._fd)) == 0:
185 warning(ctypes.FormatError(ctypes.GetLastError()))
186
187 def _winclose(self):
188 # type: () -> None

Callers 1

recvMethod · 0.95

Calls 1

warningFunction · 0.90

Tested by

no test coverage detected