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

Method close

scapy/contrib/cansocket_python_can.py:339–345  ·  view source on GitHub ↗

Closes this socket

(self)

Source from the content-addressed store, hash-verified

337 return cast(List[SuperSocket], ready_sockets)
338
339 def close(self):
340 # type: () -> None
341 """Closes this socket"""
342 if self.closed:
343 return
344 super(PythonCANSocket, self).close()
345 self.can_iface.shutdown()
346
347
348CANSocket = PythonCANSocket

Callers

nothing calls this directly

Calls 1

shutdownMethod · 0.80

Tested by

no test coverage detected